Skip to content

Commit 1b4a866

Browse files
committed
feat: improve compression and testing mechanisms across the project
- Add `HuffmanOnly` constant for gzip compression Signed-off-by: appleboy <[email protected]>
1 parent 48d0307 commit 1b4a866

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gzip.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const (
1111
BestSpeed = gzip.BestSpeed
1212
DefaultCompression = gzip.DefaultCompression
1313
NoCompression = gzip.NoCompression
14+
HuffmanOnly = gzip.HuffmanOnly
1415
)
1516

1617
func Gzip(level int, options ...Option) gin.HandlerFunc {

0 commit comments

Comments
 (0)