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
when i do curl localhost:8080 -H 'accept-encoding: gzip' -v I get a 200 response and when I do curl localhost:8080 -v I get a 404 response.
I am not sure what I am doing wrong but it seems like the gzip buffer is being closed before gin writes its 404 which somehow messes up the eventual response object.
hitting the localhost:8080/x endpoint works fine
The text was updated successfully, but these errors were encountered:
Hello, same here
Also with debug mode I got the following error with a 200 answer instead of 404 while hitting bad route (since v1.10) : [GIN-debug] cannot write message to writer during serve error: flate: closed writer
I don't know if it's related
I have a simple program
when i do
curl localhost:8080 -H 'accept-encoding: gzip' -v
I get a 200 response and when I docurl localhost:8080 -v
I get a 404 response.I am not sure what I am doing wrong but it seems like the gzip buffer is being closed before gin writes its 404 which somehow messes up the eventual response object.
hitting the
localhost:8080/x
endpoint works fineThe text was updated successfully, but these errors were encountered: