Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsch committed Jun 28, 2024
1 parent 0e1556c commit af333b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsttest/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func (r *ResponseRecorder) Header() fsthttp.Header {
if !r.headersDone {
return r.HeaderMap
}
// Once the send the headers, return a copy so any changes
// are discarded.
return r.HeaderMap.Clone()
}

Expand Down

0 comments on commit af333b6

Please sign in to comment.