apex / apex/gateway

headers don't get written if no content or status is written

Open
#38 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.