Mercurial > hg > orthanc
diff Core/RestApi/RestApiOutput.h @ 216:e5d5d4a9a326
refactored upload of dicom through http
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 11:57:35 +0100 |
parents | c07170f3f4f7 |
children | 4031f73fe0e4 |
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.h Thu Nov 29 11:25:29 2012 +0100 +++ b/Core/RestApi/RestApiOutput.h Thu Nov 29 11:57:35 2012 +0100 @@ -43,7 +43,7 @@ { private: HttpOutput& output_; - bool existingResource_; + bool alreadySent_; void CheckStatus(); @@ -59,6 +59,8 @@ void AnswerBuffer(const std::string& buffer, const std::string& contentType); + void SignalError(Orthanc_HttpStatus status); + void Redirect(const std::string& path); }; }