I'm trying to add gzip compression to a HTTP server i wrote in D.
here is the code that dose the gzip encoding.
if ((Info.modGzip)
(indexOf(client.getRequestHeaderFieldValue(Accept-Encoding),gzip)
!= -1)){
writeln(gzip);
auto gzip = new Compress(HeaderFormat.gzip);
On Thursday, 24 July 2014 at 13:09:53 UTC, Sean Campbell wrote:
I'm trying to add gzip compression to a HTTP server i wrote in
D. here is the code that dose the gzip encoding.
I know zlib gzip works for http, I used it in my cgi.d
if(gzipResponse acceptsGzip isAll) {