We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ae50e5 commit 4936253Copy full SHA for 4936253
prometheus/promhttp/http.go
@@ -361,7 +361,7 @@ type HandlerOpts struct {
361
// DisableCompression disables the response encoding (compression) and
362
// encoding negotiation. If true, the handler will
363
// never compress the response, even if requested
364
- // by the client and the OfferedCompressions field is ignored.
+ // by the client and the OfferedCompressions field is set.
365
DisableCompression bool
366
// OfferedCompressions is a set of encodings (compressions) handler will
367
// try to offer when negotiating with the client. This defaults to identity, gzip
0 commit comments