Skip to content

[HttpKernel] fix sending Vary: Accept-Language when appropriate #44395

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

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 1, 2021

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

That's something I figured our while reviewing #44386 and that we missed in #43108:
the Vary header should be sent when we use Accept-Language, not when we send Content-Language.
/cc @chalasr

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

@fabpot
Copy link
Member

fabpot commented Dec 1, 2021

Thank you @nicolas-grekas.

@fabpot fabpot merged commit e8babbd into symfony:5.4 Dec 1, 2021
@nicolas-grekas nicolas-grekas deleted the vary-language branch December 1, 2021 17:20
This was referenced Dec 9, 2021
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.

4 participants