-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Description
Why does gin deviate from net/http in that WriteHeader doesn't actually write the header?
You have to call WriteHeaderNow()
Line 69 in 094f9a9
| func (w *responseWriter) WriteHeaderNow() { |
This is causing coder/websocket#166
I'll add a fix in my library to call it but I would prefer if gin deprecated this behaviour or added some docs explaining why its necessary.
odiferousmint, master-g, eliezedeck, lubaoyilang, elnappo and 4 more
Metadata
Metadata
Assignees
Labels
No labels