changeset 2257:b8e07269da72

revert commit #69b0f4e, as quoting is only OPTIONAL, so we preserve backward compatibility
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Feb 2017 15:08:33 +0100
parents de1ba22fd28a
children cd70a86618b4
files Core/HttpServer/HttpOutput.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.cpp	Wed Feb 01 16:26:57 2017 +0100
+++ b/Core/HttpServer/HttpOutput.cpp	Thu Feb 02 15:08:33 2017 +0100
@@ -442,7 +442,7 @@
 
     multipartBoundary_ = SystemToolbox::GenerateUuid();
     multipartContentType_ = contentType;
-    header += "Content-Type: multipart/" + subType + "; type=\"" + contentType + "\"; boundary=" + multipartBoundary_ + "\r\n\r\n";
+    header += "Content-Type: multipart/" + subType + "; type=" + contentType + "; boundary=" + multipartBoundary_ + "\r\n\r\n";
 
     stream_.Send(true, header.c_str(), header.size());
     state_ = State_WritingMultipart;