Skip to content

Commit 28e7382

Browse files
Dean KarnDean Karn
authored andcommitted
code cleanup
1 parent 3a4c475 commit 28e7382

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

middleware/gzip.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ func Gzip(next http.HandlerFunc) http.HandlerFunc {
7070
w = gz
7171
defer func() {
7272

73-
// fmt.Println(gz.sniffComplete)
7473
if !gz.sniffComplete {
7574
// We have to reset response to it's pristine state when
7675
// nothing is written to body.
@@ -124,7 +123,6 @@ func GzipLevel(level int) pure.Middleware {
124123
w = gz
125124
defer func() {
126125

127-
// fmt.Println(gz.sniffComplete)
128126
if !gz.sniffComplete {
129127
// We have to reset response to it's pristine state when
130128
// nothing is written to body.

0 commit comments

Comments
 (0)