Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Call WriteHeader after setting other header(s) in the example #442

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

timucingelici
Copy link
Contributor

From the docs: Changing the header map after a call to WriteHeader (or
Write) has no effect unless the modified headers are
trailers.

From the docs: Changing the header map after a call to WriteHeader (or
Write) has no effect unless the modified headers are
trailers.
@elithrar
Copy link
Contributor

Good catch, thanks!

@elithrar elithrar merged commit 797e653 into gorilla:master Jan 25, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants