-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
http.ResponseWriter.Write() writes headers. #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
So should we.
@vishr poke |
In what case I would call |
From middleware or error handler. |
@vishr poke |
a4bdbc9
to
6f0a737
Compare
fc10f66
to
0172fe6
Compare
@vishr May you please merge it to v1? We hit this issue quite often. |
It is in. |
Thanks. But you decided not to me merge unit test? |
Just included it. |
So should we.
Otherwise call to
Write()
followed byWriteHeader()
will produce unexpected result.