This is a tiny Go package that wraps HTTP handlers to transparently gzip the response body, for clients which support it. Although it's usually simpler to leave that to a reverse proxy (like nginx or Varnish), this package is useful when that's undesirable. Call GzipHandler with any handler (an object which implements the http.Handler interface), and it'll return a new handler which gzips the response.
Features
- tiny Go package
- Wraps HTTP handlers to transparently gzip the response bod
- It's usually simpler to leave that to a reverse proxy
- Call GzipHandler with any handler
- The docs can be found at godoc.org
- Licensed under the Apache License
License
Apache License V2.0Follow Gzip Handler
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Gzip Handler!