You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously the ModifyResponse function cannot do anything with Body so the web socket path would ideally clear the Body field in the response, and make sure it's still nil after calling ModifyResponse.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No, this is an issue for a merged but unreleased change.
What operating system and processor architecture are you using (
go env
)?N/A
What did you do?
Full runnable test code: https://gist.github.com/blixt/48f4581437eab9863b977ca7dc3001af
What did you expect to see?
The custom header.
What did you see instead?
Remarks
Obviously the
ModifyResponse
function cannot do anything withBody
so the web socket path would ideally clear theBody
field in the response, and make sure it's stillnil
after callingModifyResponse
.The text was updated successfully, but these errors were encountered: