pyfisch / kinglet

A modern asynchronous HTTP server for Rust.
Other
61 stars 2 forks source link

Send "Content-Encoding: gzip" HTTP header by default for .svgz files #3

Closed Mardeg closed 8 years ago

Mardeg commented 8 years ago

This header is required for browsers to properly read already gzipped SVG files. Example URL using this header: http://imgh.us/tile4.svgz

pyfisch commented 8 years ago

I am afraid this is beyond the scope of this library.