Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/data/fileio/RemoteFile.cpp Thu Oct 18 10:15:07 2007 +0000 +++ b/data/fileio/RemoteFile.cpp Thu Oct 18 10:24:26 2007 +0000 @@ -290,6 +290,7 @@ } else { std::cerr << "RemoteFile::responseHeaderReceived: " << m_lastStatus << std::endl; + if (resp.hasContentType()) m_contentType = resp.contentType(); } }