-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpCache] fix: do not cache OPTIONS request #20205
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
Conversation
Tests must be fixed. |
f3b0cec
to
9e3c34d
Compare
9e3c34d
to
52668b3
Compare
How to fix that build fail? 😊
I guess I need to update the dependency of |
52668b3
to
caead56
Compare
@@ -18,7 +18,7 @@ | |||
"require": { | |||
"php": ">=5.3.9", | |||
"symfony/event-dispatcher": "~2.6,>=2.6.7", | |||
"symfony/http-foundation": "~2.7.15|~2.8.8", | |||
"symfony/http-foundation": "~2.7.20|~2.8.13", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you have to change this for 2.7.x-dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also fails. I guess it has to use my branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~2.7.20|~2.8.13
should be correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that in that case it is okay that the deps=high
tests are failing (because the feature isn't merged to higher branches yet). The deps=low
tests must pass though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok good to know 👍 Now I understand. Changed it back.
caead56
to
6d967aa
Compare
6d967aa
to
c43de7f
Compare
tests are passing now (except |
👍 Status: Reviewed |
👍 |
Thank you @dmaicher. |
This PR was merged into the 2.7 branch. Discussion ---------- [HttpCache] fix: do not cache OPTIONS request | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20202 | License | MIT | Doc PR | - The HttpCache should not cache any OPTIONS request as they are by spec not cacheable (mentioned here #20202 (comment) by @xabbuh). Commits ------- c43de7f [HttpCache] fix: do not cache OPTIONS request
The HttpCache should not cache any OPTIONS request as they are by spec not cacheable (mentioned here #20202 (comment) by @xabbuh).