Mercurial > hg > orthanc
comparison Core/HttpServer/BufferHttpSender.h @ 1522:f938f7779bcb
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2015 15:37:42 +0200 |
parents | 8bd0d897763f |
children | c388502a066d |
comparison
equal
deleted
inserted
replaced
1521:3606278d305e | 1522:f938f7779bcb |
---|---|
59 | 59 |
60 /** | 60 /** |
61 * Implementation of the IHttpStreamAnswer interface. | 61 * Implementation of the IHttpStreamAnswer interface. |
62 **/ | 62 **/ |
63 | 63 |
64 virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/, | |
65 bool /*deflateAllowed*/) | |
66 { | |
67 // No compression is supported | |
68 return HttpCompression_None; | |
69 } | |
70 | |
64 virtual uint64_t GetContentLength() | 71 virtual uint64_t GetContentLength() |
65 { | 72 { |
66 return buffer_.size(); | 73 return buffer_.size(); |
67 } | 74 } |
68 | 75 |