Mercurial > hg > orthanc
diff Core/HttpServer/HttpOutput.h @ 285:4031f73fe0e4
access to the raw dicom tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Dec 2012 17:53:14 +0100 |
parents | 1ac3aacd10a5 |
children | 64925c94825c |
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.h Wed Dec 12 15:40:18 2012 +0100 +++ b/Core/HttpServer/HttpOutput.h Wed Dec 12 17:53:14 2012 +0100 @@ -43,11 +43,6 @@ private: void SendHeaderInternal(Orthanc_HttpStatus status); - void SendOkHeader(const char* contentType, - bool hasContentLength, - uint64_t contentLength, - const char* contentFilename); - public: virtual ~HttpOutput() { @@ -55,6 +50,11 @@ virtual void Send(const void* buffer, size_t length) = 0; + 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);