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

Add host header to varnish cache purge request #7650

Merged
merged 7 commits into from
Mar 9, 2017

Conversation

m0zziter
Copy link
Contributor

@m0zziter m0zziter commented Dec 1, 2016

This was done in accordance to RFC 7230 which states (in part): “A server MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host header field…”

Fixes #7614

This was done in accordance to RFC 7230 which states (in part): “A server MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host header field…”
Accounts for the addition of the host header in the purge request.
@m0zziter
Copy link
Contributor Author

m0zziter commented Dec 1, 2016

Not sure why the second travis build failed, should I submit a new PR or can it be restarted?

@m0zziter m0zziter closed this Dec 2, 2016
@m0zziter m0zziter reopened this Dec 2, 2016
@comdiler
Copy link

comdiler commented Dec 2, 2016

@m0zziter I have the same issue. Same tests failed. It is possible that dev branch doesn't pass build anymore.

@bery bery mentioned this pull request Jan 5, 2017
@m0zziter
Copy link
Contributor Author

Haven't heard anything from the magento team on this yet. Is there anything else y'all need me to do? If so, let me know and I'd be happy to do whatever's necessary.

This was done in accordance to RFC 7230 which states (in part): “A server MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host header field…”
Accounts for the addition of the host header in the purge request.
@vrann vrann self-assigned this Mar 6, 2017
@vrann vrann added this to the March 2017 milestone Mar 6, 2017
@magento-team magento-team merged commit 881b4ce into magento:develop Mar 9, 2017
@vrann
Copy link
Contributor

vrann commented Mar 9, 2017

@m0zziter PR is merged, thank you!

magento-devops-reposync-svc pushed a commit that referenced this pull request Aug 10, 2022
…ync-05172022

Sync of 2.4.5-develop with 2.4-develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants