Skip to content

Commit

Permalink
Merge pull request #24 from EOSIO/fix-header-forwarding
Browse files Browse the repository at this point in the history
Fix issue with proxying headers from nodeos
  • Loading branch information
ericiles authored May 31, 2018
2 parents 32f22d6 + 2914d75 commit 59983ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func forwardCallToNodeos(w http.ResponseWriter, r *http.Request) {
logFailure("TRANSACTION_FAILED", nil, r)
}

copyHeaders(w.Header(), r.Header)
copyHeaders(w.Header(), res.Header)
w.WriteHeader(res.StatusCode)
_, err = w.Write(body)
if err != nil {
Expand Down

0 comments on commit 59983ec

Please sign in to comment.