Skip to content

test: do not send Content-Length header for HEAD requests#1771

Merged
mxschmitt merged 1 commit intomainfrom
content-length-header
Mar 20, 2025
Merged

test: do not send Content-Length header for HEAD requests#1771
mxschmitt merged 1 commit intomainfrom
content-length-header

Conversation

@mxschmitt
Copy link
Contributor

@mxschmitt mxschmitt commented Mar 20, 2025

Extracted from #1761.

This fixes:

WARNING: sendResponseHeaders: being invoked with a content length for a HEAD request

Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add to the description a note on what it is fixing.

@mxschmitt mxschmitt merged commit 739202f into main Mar 20, 2025
17 of 19 checks passed
@mxschmitt mxschmitt deleted the content-length-header branch March 20, 2025 17:41
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.

2 participants

Comments