Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpFoundation] Set the Content-Range header if the requested Range is unsatisfied#18080

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

Merged

Conversation

@jakzal
Copy link
Contributor

QA
Branch2.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

This is a followup to#17150 (comment)

RFC2616 specifies the Content-Range header SHOULD be included with a416 Requested Range Not Satisfiable response:

When this status code is returned for a byte-range request, the response SHOULD include a Content-Range entity-header field specifying the current length of the selected resource (see section 14.16). This response MUST NOT use the multipart/byteranges content- type.

RFC 7233 specifies what should be the header's value. It's in the "Request for comments" state, but it's the best definition I could find. This value is valid according to rfc2616 as well.

@fabpot
Copy link
Member

Thank you@jakzal.

@fabpotfabpot merged commit54329d8 intosymfony:2.3Mar 10, 2016
fabpot added a commit that referenced this pull requestMar 10, 2016
…sted Range is unsatisfied (jakzal)This PR was merged into the 2.3 branch.Discussion----------[HttpFoundation] Set the Content-Range header if the requested Range is unsatisfied| Q             | A| ------------- | ---| Branch        | 2.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -This is a followup to#17150 (comment)[RFC2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) specifies the Content-Range header SHOULD be included with a *416 Requested Range Not Satisfiable* response:>    When this status code is returned for a byte-range request, the response SHOULD include a Content-Range entity-header field specifying the current length of the selected resource (see section 14.16). This response MUST NOT use the multipart/byteranges content- type.[RFC 7233](https://tools.ietf.org/html/rfc7233#section-4.2) specifies what should be the header's value. It's in the "Request for comments" state, but it's the best definition I could find. This value is valid according to rfc2616 as well.Commits-------54329d8 [HttpFoundation] Set the Content-Range header if the requested Range is unsatisfied
@jakzaljakzal deleted the http-foundation-content-range-with-416 branchMarch 10, 2016 13:43
@fabpotfabpot mentioned this pull requestMar 13, 2016
This was referencedMar 25, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jakzal@fabpot@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp