eyre: send 'no content' headers with no content

This commit is contained in:
Tyler Brown Cifu Shuster 2020-09-24 21:07:07 -07:00
parent a4bfed0f80
commit 8a9534e0ac

View File

@ -843,7 +843,7 @@
?~ redirect ?~ redirect
%- handle-response %- handle-response
:* %start :* %start
:- status-code=200 :- status-code=204
^= headers ^= headers
:~ ['set-cookie' cookie-line] :~ ['set-cookie' cookie-line]
== ==
@ -1282,7 +1282,7 @@
=^ http-moves state =^ http-moves state
%- handle-response %- handle-response
:* %start :* %start
[status-code=200 headers=~] [status-code=204 headers=~]
data=~ data=~
complete=%.y complete=%.y
== ==