Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 155:93e1b0e3b83a
filenames when downloading json/dicom
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Oct 2012 15:43:46 +0200 |
parents | fe180eae201d |
children | 7f74209ea0f8 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Tue Oct 23 15:12:40 2012 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Tue Oct 23 15:43:46 2012 +0200 @@ -522,7 +522,7 @@ return (void*) ""; case PostDataStatus_Pending: - output.AnswerBuffer(""); + output.AnswerBufferWithContentType(NULL, 0, ""); return (void*) ""; default: