-
- Downloads
Add optional support for response gzip compression
The clients already support it (via the default net/http.Transport), and it can be enabled with a configuration parameter. The default is still currently disabled, though there is plan to flip it later to enabled-by-default if it proves to be working as expected in production. We also introduce, via a slight refactoring of the Serve() code, a test of the top-level http.Handler (with the full middleware stack).
... | ... | @@ -4,6 +4,7 @@ go 1.11 |
require ( | ||
contrib.go.opencensus.io/exporter/zipkin v0.1.2 | ||
github.com/NYTimes/gziphandler v1.1.1 | ||
github.com/amoghe/go-crypt v0.0.0-20191109212615-b2ff80594b7f | ||
github.com/bbrks/wrap/v2 v2.5.0 | ||
github.com/cenkalti/backoff/v4 v4.1.1 | ||
... | ... |
serverutil/http_test.go
0 → 100644
Please register or sign in to comment