headers don't get written if no content or status is written
Open
- Dominant language
- Go
- Stars
- 651
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.