Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

mxschmitt
Copy link
Member

@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