Update changelog
This commit is contained in:
parent
2f9fcdb45d
commit
0aaf3b25d9
1 changed files with 13 additions and 0 deletions
13
changelog.d/1550
Normal file
13
changelog.d/1550
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
synopsis: Refactor NoContentVerb into NoContentVerbWithStatus
|
||||||
|
prs: #1550
|
||||||
|
issues: #1532
|
||||||
|
|
||||||
|
description: {
|
||||||
|
|
||||||
|
There are several HTTP status codes that correspond to a response body with `NoContent`. This PR introduces `NoContentVerbWithStatus` which generalizes `NoContentVerb` to cases when the return status may be
|
||||||
|
different from `204`. The former replaces the latter anywhere possible.
|
||||||
|
`NoContentVerb` is kept as a special case of `NoContentVerbWithStatus` for backwards compatibility.
|
||||||
|
|
||||||
|
This PR also adds a test case for `NoContentVerbWithStatus` in `ServerSpec.hs`
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue