Skip to content

Commit

Permalink
correction (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swastyy authored Nov 8, 2021
1 parent b9a8b9d commit 2bfa508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func NewCompressor(level int, types ...string) *Compressor {
// https://web.archive.org/web/20120321182910/http://www.vervestudios.co/projects/compression-tests/results
//
// That's why we prefer gzip over deflate. It's just more reliable
// and not significantly slower than gzip.
// and not significantly slower than deflate.
c.SetEncoder("deflate", encoderDeflate)

// TODO: Exception for old MSIE browsers that can't handle non-HTML?
Expand Down

0 comments on commit 2bfa508

Please sign in to comment.