Mercurial > hg > orthanc
diff Core/HttpServer/HttpToolbox.h @ 3442:dd1e68f2d0c0
Fix issue #106 (Unable to export preview as jpeg from Lua script)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Jun 2019 16:06:47 +0200 |
parents | 962e5f00744b |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/HttpServer/HttpToolbox.h Mon Jun 24 12:37:52 2019 +0200 +++ b/Core/HttpServer/HttpToolbox.h Mon Jun 24 16:06:47 2019 +0200 @@ -64,11 +64,6 @@ static bool SimpleGet(std::string& result, IHttpHandler& handler, RequestOrigin origin, - const std::string& uri); - - static bool SimpleGet(std::string& result, - IHttpHandler& handler, - RequestOrigin origin, const std::string& uri, const IHttpHandler::Arguments& httpHeaders); @@ -77,17 +72,20 @@ RequestOrigin origin, const std::string& uri, const void* bodyData, - size_t bodySize); + size_t bodySize, + const IHttpHandler::Arguments& httpHeaders); static bool SimplePut(std::string& result, IHttpHandler& handler, RequestOrigin origin, const std::string& uri, const void* bodyData, - size_t bodySize); + size_t bodySize, + const IHttpHandler::Arguments& httpHeaders); static bool SimpleDelete(IHttpHandler& handler, RequestOrigin origin, - const std::string& uri); + const std::string& uri, + const IHttpHandler::Arguments& httpHeaders); }; }