Mercurial > hg > orthanc
diff Core/HttpServer/HttpOutput.h @ 207:7f74209ea0f8
RestApi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Nov 2012 16:23:11 +0100 |
parents | 93e1b0e3b83a |
children | 1ac3aacd10a5 |
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.h Wed Nov 28 12:03:18 2012 +0100 +++ b/Core/HttpServer/HttpOutput.h Wed Nov 28 16:23:11 2012 +0100 @@ -44,11 +44,6 @@ private: void SendHeaderInternal(Orthanc_HttpStatus status); - void SendOkHeader(const char* contentType, - bool hasContentLength, - uint64_t contentLength, - const char* contentFilename); - public: virtual ~HttpOutput() { @@ -58,6 +53,13 @@ void SendOkHeader(const std::string& contentType); + void SendOkHeader(const char* contentType, + bool hasContentLength, + uint64_t contentLength, + const char* contentFilename); + + void SendCustomOkHeader(const std::string& customHeader); + void SendString(const std::string& s); void SendMethodNotAllowedError(const std::string& allowed);