Skip to content

Remove Content-Length header from HTTP 400 and 413 responses#1146

Open
joanhey wants to merge 1 commit intowalkor:masterfrom
joanhey:400-headers
Open

Remove Content-Length header from HTTP 400 and 413 responses#1146
joanhey wants to merge 1 commit intowalkor:masterfrom
joanhey:400-headers

Conversation

@joanhey
Copy link
Copy Markdown
Contributor

@joanhey joanhey commented Apr 3, 2026

The Content-Length field is optional in HTTP responses when the server closes the connection immediately after sending the headers.

PD: we can also maintain it, but we send extra bytes for nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant