Mercurial > hg > orthanc
comparison Core/HttpServer/HttpOutput.h @ 1511:7962563129c9
starting support of deflate/gzip content types
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Aug 2015 14:18:24 +0200 |
parents | f3672356c121 |
children | 4f8c8ef114db |
comparison
equal
deleted
inserted
replaced
1510:ffc9f36103b9 | 1511:7962563129c9 |
---|---|
144 const std::string& value) | 144 const std::string& value) |
145 { | 145 { |
146 stateMachine_.AddHeader(key, value); | 146 stateMachine_.AddHeader(key, value); |
147 } | 147 } |
148 | 148 |
149 void SendBody(const void* buffer, size_t length); | 149 void SendBody(const void* buffer, |
150 size_t length, | |
151 HttpCompression compression = HttpCompression_None); | |
150 | 152 |
151 void SendBody(const std::string& str); | 153 void SendBody(const std::string& str, |
154 HttpCompression compression = HttpCompression_None); | |
152 | 155 |
153 void SendBody(); | 156 void SendBody(); |
154 | 157 |
155 void SendMethodNotAllowed(const std::string& allowed); | 158 void SendMethodNotAllowed(const std::string& allowed); |
156 | 159 |