GoogleChromeLabs / simplehttp2server

A simple HTTP/2 server for development
Other
1.74k stars 98 forks source link

Does server support gzip compression? #20

Closed PFight closed 7 years ago

PFight commented 7 years ago

Does server support gzip compression? How it can be configured?

surma commented 7 years ago

Currently, GZIP is enabled by default (can be disabled with -nogzip). It is buggy though as I am doing on-the-fly compression and not calculating the compressed file size ahead-of-time so with certain file types and certain browsers it just breaks.