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

HttpRangeReader swallows 404s #2791

Closed
metasim opened this issue Aug 22, 2018 · 0 comments · Fixed by #3073
Closed

HttpRangeReader swallows 404s #2791

metasim opened this issue Aug 22, 2018 · 0 comments · Fixed by #3073
Assignees

Comments

@metasim
Copy link
Member

metasim commented Aug 22, 2018

If you attempt to do a range read on something doesn't exist, you get an IllegalArgumentException instead of a 404:

require(headers.header("Accept-Ranges") == Some("bytes"),

CloudNiner added a commit to CloudNiner/geotrellis that referenced this issue Sep 16, 2019
HttpRangeReader now throws with an
HttpStatusException if the server responds
with any 4xx or 5xx status code.
echeipesh added a commit that referenced this issue Sep 16, 2019
…ows-404#2791

Fix #2791: HttpRangeReader swallows 404s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants