Skip to content
New issue

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

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

Already on GitHub? # to your account

Handle HEAD requests for static files correctly #6837

Merged
merged 8 commits into from
Dec 4, 2019
Merged

Handle HEAD requests for static files correctly #6837

merged 8 commits into from
Dec 4, 2019

Conversation

mathertel
Copy link
Contributor

@mathertel mathertel commented Nov 25, 2019

Some browser issue a HEAD before a GET requests when a <object> tag is used.
This change handles HEAD requests correctly for static files by returning the full header but no body according to https://tools.ietf.org/html/rfc7231#section-4.3.2.

@d-a-v d-a-v requested a review from devyte December 4, 2019 11:18
@d-a-v d-a-v merged commit a738884 into esp8266:master Dec 4, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants