Fix empty content-length handling for gzip and 204 responses #2870
The transmit logic incorrectly considers missing
This patch fixes this by always parsing the header value, and testing using integer comparisons instead of the current truthiness tests.
I have added 2 new tests to verify the chunked response behavior. I also fixed an existing compression test, which was actually not working as intended due to not signalling a compressible mime type.
The text was updated successfully, but these errors were encountered: