Skip to main content

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


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.4.zip (9.3 kB view details)

Uploaded Source

wsgigzip-0.1.4.tar.gz (5.6 kB view details)

Uploaded Source

wsgigzip-0.1.4.tar.bz2 (5.7 kB view details)

Uploaded Source

Built Distribution

wsgigzip-0.1.4-py2-none-any.whl (7.6 kB view details)

Uploaded Python 2

File details

Details for the file wsgigzip-0.1.4.zip.

File metadata

  • Download URL: wsgigzip-0.1.4.zip
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgigzip-0.1.4.zip
Algorithm Hash digest
SHA256 c8afbde561f54787878708ffa95f3556a8791c5972501c322f292972b0d355e8
MD5 195c960a8fe9960be93c70f03d6bb018
BLAKE2b-256 d1364c0450f66a33f70d82452b9e0e33db3df63d3a0740bda8985008b2eec0e7

See more details on using hashes here.

File details

Details for the file wsgigzip-0.1.4.tar.gz.

File metadata

  • Download URL: wsgigzip-0.1.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgigzip-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c24115660e9ac8cfb1c9703ffce35eb41edacf4edcfc7a5c457ac8f4780663e4
MD5 9e4a83f034c76a69081d8dc99189c9a8
BLAKE2b-256 42b5ef5a12c580b57b51de3d56a2c651d76aebdbc7e3f1866c54590ea9bf34ae

See more details on using hashes here.

File details

Details for the file wsgigzip-0.1.4.tar.bz2.

File metadata

  • Download URL: wsgigzip-0.1.4.tar.bz2
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgigzip-0.1.4.tar.bz2
Algorithm Hash digest
SHA256 4df09de683ee4e98d1083bd44713e99a00c306d1060443041df2492a96e85fe2
MD5 73bfd7d1a672d929bd3ba013eadd2526
BLAKE2b-256 7e9798648e313c56b5b64900947a91716b6e50ff5edbcad3fcbf7c1b9d002f49

See more details on using hashes here.

File details

Details for the file wsgigzip-0.1.4-py2-none-any.whl.

File metadata

File hashes

Hashes for wsgigzip-0.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 a4238d19dbbe7845ea3b510c96aea92a2ae86ec36e0779c7945460e20bb7fe0e
MD5 652dc15dbfd4d50e0d9a854fb8f888bc
BLAKE2b-256 8ac323bf15be1eadd8ae8f989bfb4277c9101a1b66a1e9022a192a816d730bf5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page