Skip to content
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

Add code snippet for EnableCompression in doc.go #210

Merged
merged 1 commit into from
Jan 26, 2017

Conversation

nobuf
Copy link
Contributor

@nobuf nobuf commented Jan 26, 2017

I thought code snippet catches attention well in general, and it's nice to have it for EnableCompression.

Maybe it's just me, but I tried to add EnableWriteCompression(true) to my code first before reading the whole paragraph. Then I realized EnableCompression is the one necessary while enableWriteCompression is actually true by default if EnableCompression is on.

…ompression()'s parameter to false since enableWriteCompression is true by default.
@garyburd garyburd merged commit c36f2fe into gorilla:master Jan 26, 2017
@gorilla gorilla locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants