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

Skip to content

[HttpFoundation] reset callback on StreamedResponse when setNotModified() is called #27937

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
Jul 13, 2018

Conversation

rubencm
Copy link
Contributor

@rubencm rubencm commented Jul 13, 2018

Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27924
License MIT
Doc PR No

@fabpot
Copy link
Member

fabpot commented Jul 13, 2018

Thank you @rubencm.

@fabpot fabpot merged commit 51a49c7 into symfony:2.8 Jul 13, 2018
fabpot added a commit that referenced this pull request Jul 13, 2018
…etNotModified() is called (rubencm)

This PR was merged into the 2.8 branch.

Discussion
----------

[HttpFoundation] reset callback on StreamedResponse when setNotModified() is called

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27924
| License       | MIT
| Doc PR        | No

Commits
-------

51a49c7 [HttpFoundation] reset callback on StreamedResponse when setNotModified() is called
fabpot added a commit that referenced this pull request Sep 18, 2018
…Modified() (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[HttpFoundation] don't override StreamedResponse::setNotModified()

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Alternative implementation to #27937, because `Response::setNotModified()` has been made final in 4.0 so we shouldn't override it.

Commits
-------

9ef7f70 [HttpFoundation] don't override StreamedResponse::setNotModified()
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.

3 participants