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

Remove special handling of HEAD requests #8416

Merged
merged 3 commits into from Sep 24, 2022
Merged

Conversation

alukach
Copy link
Contributor

@alukach alukach commented Aug 24, 2022

As mentioned in #8405, the dev server currently does not include content-length details in its responses to HEAD requests. This PR allows serveHandler() to handle HEAD requests and thus provide relevant headers.

Closes #8405

Copy link
Member

@mischnic mischnic left a comment

Choose a reason for hiding this comment

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

Thanks!

@mischnic mischnic merged commit de15695 into parcel-bundler:v2 Sep 24, 2022
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.

dev server: no Content-Length header on HEAD requests
2 participants