Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

maxhelias
Copy link
Contributor

@maxhelias maxhelias commented Dec 1, 2021

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

Introduced in 5.4 with : #43108

@carsonbot carsonbot added this to the 5.4 milestone Dec 1, 2021
@carsonbot carsonbot changed the title ResponseListener needs only 2 parameters [FrameworkBundle] ResponseListener needs only 2 parameters Dec 1, 2021
@nicolas-grekas
Copy link
Member

Thank you @maxhelias.

@nicolas-grekas nicolas-grekas merged commit e0fdec0 into symfony:5.4 Dec 1, 2021
@maxhelias maxhelias deleted the too-many-param branch December 1, 2021 14:57
fabpot added a commit that referenced this pull request Dec 1, 2021
…riate (nicolas-grekas)

This PR was merged into the 5.4 branch.

Discussion
----------

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

| 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

Commits
-------

afab34d [HttpKernel] fix sending Vary: Accept-Language when appropriate
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