Skip to content

Commit

Permalink
reset request disableSpecialHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
xiluoxi committed Sep 21, 2023
1 parent a5301d9 commit 3ba227a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions header.go
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ func (h *RequestHeader) SetNoDefaultContentType(noDefaultContentType bool) {

// Reset clears request header.
func (h *RequestHeader) Reset() {
h.disableSpecialHeader = false
h.disableNormalizing = false
h.SetNoDefaultContentType(false)
h.resetSkipNormalize()
Expand Down

0 comments on commit 3ba227a

Please sign in to comment.