Decorator for flup's gzip compression WSGI middleware
Project description
Usage example:
from wsgigzip import gzip @gzip() def index(environ, start_response): start_response('200 OK', [('Content-type', 'text/plain')]) return ['Home Page'] if __name__ == '__main__': from wsgiref.simple_server import make_server http = make_server('', 8080, index) http.serve_forever()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
wsgigzip-0.1.zip
(12.0 kB
view hashes)
wsgigzip-0.1.tar.gz
(8.3 kB
view hashes)
wsgigzip-0.1.tar.bz2
(8.3 kB
view hashes)
Built Distributions
wsgigzip-0.1.win32.exe
(68.8 kB
view hashes)
wsgigzip-0.1-py2.5.egg
(10.7 kB
view hashes)
wsgigzip-0.1-py2.4.egg
(10.7 kB
view hashes)