Skip to content

SimpleHTTPServer with support for Range requests and GZip Compressing

Notifications You must be signed in to change notification settings

AndyTheFactory/gzip_ranged_simple_httpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Simple HTTP Server with Gzip cmpression and Ranges

Built mainly to test some corner cases in newspaper4k

Usage

python -m gzip_http_server 8080 --encoding=gzip --max-file-size=10000

or

docker run -v $PWD:/tmp/share -p 8000:8000 andythefactory/gzip-range-server --encoding=gzip --max-file-size=10000

Features

  • Gzip compression
  • Range requests
  • Max file size will FORCE a ranged response if the file is larger than the max file size.

About

SimpleHTTPServer with support for Range requests and GZip Compressing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published