Skip to content

Commit

Permalink
Fix multi-value response headers being overwritten (closes #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeyax committed Sep 23, 2022
1 parent 6f3166a commit 7736d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-go/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func StartServer(addr string) error {
// Write the response (back to burp).
for k, _ := range res.Header {
v := res.Header.Get(k)
w.Header().Set(k, v)
w.Header().Add(k, v)
}
w.WriteHeader(res.StatusCode)
body, _ := io.ReadAll(res.Body)
Expand Down

0 comments on commit 7736d9d

Please sign in to comment.