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

Skip to content

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

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
Sep 18, 2018

Conversation

nicolas-grekas
Copy link
Member

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.

@nicolas-grekas nicolas-grekas changed the title [HttpFoundation] don' override StreamedResponse::setNotModified() [HttpFoundation] don't override StreamedResponse::setNotModified() Sep 16, 2018
@fabpot
Copy link
Member

fabpot commented Sep 18, 2018

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 9ef7f70 into symfony:2.8 Sep 18, 2018
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()
@nicolas-grekas nicolas-grekas deleted the http-stream-fix branch September 18, 2018 17:16
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