Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Allow empty response bodies #111

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

thewilkybarkid
Copy link
Contributor

Koa sets the body of a response as the status message if it hasn't been explicitly set and it's not a regular empty response (eg 204 No Content). This prevents it from happening.

(This is expected behaviour of Koa, but not of this app, so I'm calling it a bug.)

Extracted from #104.

@thewilkybarkid thewilkybarkid added the 🪲 Bug Fix A bug fix label Dec 12, 2019
@thewilkybarkid thewilkybarkid requested a review from a team as a code owner December 12, 2019 11:36
@thewilkybarkid thewilkybarkid merged commit 22a0e42 into libero:master Dec 12, 2019
@thewilkybarkid thewilkybarkid deleted the empty-response branch December 12, 2019 17:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 Bug Fix A bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants