Skip to content

Commit

Permalink
test: resp header
Browse files Browse the repository at this point in the history
  • Loading branch information
Duslia committed Sep 23, 2022
1 parent 49e9f09 commit d479bf5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/protocol/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -1505,11 +1505,11 @@ func (h *ResponseHeader) setSpecialHeader(key, value []byte) bool {
// Transfer-Encoding is managed automatically.
return true
}
case 'd':
if utils.CaseInsensitiveCompare(bytestr.StrDate, key) {
// Date is managed automatically.
return true
}
//case 'd':
//if utils.CaseInsensitiveCompare(bytestr.StrDate, key) {
// // Date is managed automatically.
// return true
//}
}

return false
Expand Down

0 comments on commit d479bf5

Please sign in to comment.