How to use Content-Encoding: gzip with Python SimpleHTTPServer -


i'm using python -m simplehttpserver serve directory local testing in web browser. of content includes large data files. able gzip them , have simplehttpserver serve them content-encoding: gzip.

is there easy way this?

since top google result figured post simple modification script got gzip work.

https://github.com/ksmith97/gzipsimplehttpserver


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -