Skip to content
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

Range header fix #7

Merged
merged 2 commits into from
Feb 19, 2013
Merged

Range header fix #7

merged 2 commits into from
Feb 19, 2013

Conversation

shino
Copy link
Contributor

@shino shino commented Feb 14, 2013

  • Remove special treatment of the range "0-"
  • Accept range end position which exceededs the resource size

@kellymclaughlin
Copy link

+1 to merge

RFC 2616 14.35.1 Byte Ranges

   If the last-byte-pos value is absent, or if the value is greater than
   or equal to the current length of the entity-body, last-byte-pos is
   taken to be equal to one less than the current length of the entity-
   body in bytes.
shino added a commit that referenced this pull request Feb 19, 2013
@shino shino merged commit 94cad04 into 1.5 Feb 19, 2013
@shino
Copy link
Contributor Author

shino commented Feb 19, 2013

merged after rebase.

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.

2 participants