diff Core/RestApi/RestApiOutput.h @ 2981:eff50153a7b3 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 15:58:08 +0100
parents 9d277f8ad698
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.h	Thu Oct 18 10:48:11 2018 +0200
+++ b/Core/RestApi/RestApiOutput.h	Thu Dec 06 15:58:08 2018 +0100
@@ -75,11 +75,11 @@
     void AnswerJson(const Json::Value& value);
 
     void AnswerBuffer(const std::string& buffer,
-                      const std::string& contentType);
+                      MimeType contentType);
 
     void AnswerBuffer(const void* buffer,
                       size_t length,
-                      const std::string& contentType);
+                      MimeType contentType);
 
     void SignalError(HttpStatus status);