We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I used c.String for serving, gzip causes decoding error. (Google Chrome said ERR_CONTENT_DECODING_FAILED. IE, Edge, Firefox also got same error.)
Even gzip/example/example.go did NOT worked, too. (My Golang version is 1.5)
In my project built under Golang 1.5, I tested several options like c.String, c.HTML, and c.JSON.
Result: c.String(200, "OK") => Decoding Error c.HTML(200, "blahblah.html", gin.H{"example": anything ~~~ ... }) => Gzip worked good c.JSON(200, articles) => Gzip worked good
So, I think that there is a something issue with gzip + c.String.
The text was updated successfully, but these errors were encountered:
I found #59. I retried with this, then the problem is solved.
Sorry, something went wrong.
No branches or pull requests
When I used c.String for serving, gzip causes decoding error.
(Google Chrome said ERR_CONTENT_DECODING_FAILED. IE, Edge, Firefox also got same error.)
Even gzip/example/example.go did NOT worked, too. (My Golang version is 1.5)
In my project built under Golang 1.5, I tested several options like c.String, c.HTML, and c.JSON.
Result:
c.String(200, "OK") => Decoding Error
c.HTML(200, "blahblah.html", gin.H{"example": anything ~~~ ... }) => Gzip worked good
c.JSON(200, articles) => Gzip worked good
So, I think that there is a something issue with gzip + c.String.
The text was updated successfully, but these errors were encountered: