diff Core/HttpServer/HttpFileSender.cpp @ 2905:ae20fccdd867

refactoring mime types
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 11:55:23 +0100
parents 878b59270859
children 2a504fef4ed7
line wrap: on
line diff
--- a/Core/HttpServer/HttpFileSender.cpp	Tue Oct 30 10:46:17 2018 +0100
+++ b/Core/HttpServer/HttpFileSender.cpp	Tue Oct 30 11:55:23 2018 +0100
@@ -69,7 +69,7 @@
   {
     if (contentType_.empty())
     {
-      return "application/octet-stream";
+      return MIME_BINARY;
     }
     else
     {