Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[HttpFoundation] Add support for all core response http control directives#35748
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
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 add tests.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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.
Maybe some tests, a changelog entry?
Added tests and a changelog entry. |
@azjezz thanks. What about#35748 (comment) ? |
Uh oh!
There was an error while loading.Please reload this page.
9e20d79
to27afbfa
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Thank you@azjezz. |
This PR was squashed before being merged into the 5.1-dev branch.Discussion----------Fix constant accessor| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets | Fix #... <!-- prefix each issue number with "Fix #", if any -->| License | MIT| Doc PR | symfony/symfony-docs#... <!-- required for new features -->Because HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES is private, using static will fail for any classes extending the Response class. HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES is already properly using self a bit lower so we should do the same thing here.Introduced in#35748Commits-------633ff5b Fix constant accessor
Uh oh!
There was an error while loading.Please reload this page.
Add support for all core cache-control directives
see :https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control