Skip to content

http: throw error when attempting to write to response with no body

Rodrigo Muino Tomonari requested to merge github/fork/mertcanaltin/dev-5 into main

Previously, when the _hasBody property of the response object was false, the code simply ignored any data being written to the response. This behavior was changed to throw an error instead, which is more appropriate for responses that are not allowed to have a body

Merge request reports

Loading