gateway
gateway copied to clipboard
headers don't get written if no content or status is written
trafficstars
The golang http server will write out on close, just in case nothing was written. Could the End() method be changed to call Write([]byte{}) so that it will trigger the headers and status OK being written?
This is using v2.0.0 of the library.
I've just sent a PR with an example of what I mean. :+1: #39