Mercurial > hg > svcore
comparison data/fileio/RemoteFile.cpp @ 315:96ef9746c560
* Add content type to remote file
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 10:24:26 +0000 |
parents | 4fc6f49436b3 |
children | 3a6725f285d6 |
comparison
equal
deleted
inserted
replaced
314:70a232b1f12a | 315:96ef9746c560 |
---|---|
288 std::cerr << "RemoteFile::responseHeaderReceived: " | 288 std::cerr << "RemoteFile::responseHeaderReceived: " |
289 << m_errorString.toStdString() << std::endl; | 289 << m_errorString.toStdString() << std::endl; |
290 } else { | 290 } else { |
291 std::cerr << "RemoteFile::responseHeaderReceived: " | 291 std::cerr << "RemoteFile::responseHeaderReceived: " |
292 << m_lastStatus << std::endl; | 292 << m_lastStatus << std::endl; |
293 if (resp.hasContentType()) m_contentType = resp.contentType(); | |
293 } | 294 } |
294 } | 295 } |
295 | 296 |
296 void | 297 void |
297 RemoteFile::ftpCommandFinished(int id, bool error) | 298 RemoteFile::ftpCommandFinished(int id, bool error) |