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

Add range request handling to TransparentReplayRenderer. #263

Merged
merged 1 commit into from Dec 9, 2015

Conversation

kngenie
Copy link
Contributor

@kngenie kngenie commented May 30, 2015

(Limitations; it does not support multi-range requests, and capture must
have either Content-Length or instance-length in Content-Range)

#179, also internetarchive#78

(Limitations; it does not support multi-range requests, and capture must
have either Content-Length or instance-length in Content-Range)

iipc#179, also #78
@kris-sigur kris-sigur added this to the 2.3.0 Minor Release milestone Jun 1, 2015
* requested range.
* @see org.archive.wayback.replay.TransparentReplayRenderer
*/
public class RangeNotSatisfiable extends SpecificCaptureReplayException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this class be named 'RangeNotSatisfiableException'. I think that is the common convention for exceptions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, too.
As you might guess, I named it after the standard name for 406 response "Requested Range Not Satisfiable". It is for returning 406 response, and it is not meant to be caught by that specific name. So I didn't see a need to follow that -Exception convention.

@johnerikhalse johnerikhalse merged commit 2420928 into iipc:master Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants