Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 committed Jul 22, 2024
1 parent 4b4e634 commit 2ecdf3a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions header.go
Original file line number Diff line number Diff line change
Expand Up @@ -3358,10 +3358,6 @@ func (s *headerScanner) next() bool {
s.value, s.b, s.hLen = normalizeHeaderValue(s.value, oldB, s.hLen)
}

for len(s.b) > 0 && (s.b[0] == ' ' || s.b[0] == '\t') {
s.b = s.b[1:]
}

return true
}

Expand Down

0 comments on commit 2ecdf3a

Please sign in to comment.