diff Core/HttpServer/HttpOutput.h @ 339:639272ef7615

answer raw buffers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2013 15:14:54 +0100
parents 78a8eaa5f30b
children bdd72233b105
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.h	Mon Jan 14 11:35:01 2013 +0100
+++ b/Core/HttpServer/HttpOutput.h	Wed Jan 16 15:14:54 2013 +0100
@@ -55,6 +55,9 @@
 
     void SendOkHeader(const Header& header);
 
+    void PrepareCookies(Header& header,
+                        const HttpHandler::Arguments& cookies);
+
   public:
     virtual ~HttpOutput()
     {
@@ -87,5 +90,10 @@
     void AnswerBufferWithContentType(const void* buffer,
                                      size_t size,
                                      const std::string& contentType);
+
+    void AnswerBufferWithContentType(const void* buffer,
+                                     size_t size,
+                                     const std::string& contentType,
+                                     const HttpHandler::Arguments& cookies);
   };
 }