You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It returns an empty string as a response body (which is kinda OK), also it correctly doesn't return Content-Length header, but unfortunately closes the connection.
I'm not sure what's the correct way to achieve what I'm looking for, namely:
the 204 response should not have Content-Length header
the server should persist the connection
the body should be empty (either NIL or empty string)
Can you please advice?
The text was updated successfully, but these errors were encountered:
The request to
/return-empty-string
returns the following:While it correctly returns
NIL
as a response body and persists connection, it returnsContent-Length
header, which violates the spec.The request to
/return-nil
returns the following:It returns an empty string as a response body (which is kinda OK), also it correctly doesn't return
Content-Length
header, but unfortunately closes the connection.I'm not sure what's the correct way to achieve what I'm looking for, namely:
Content-Length
headerNIL
or empty string)Can you please advice?
The text was updated successfully, but these errors were encountered: