Skip to content

Range-based reading of HTTP resources - #2067

Merged
lossyrob merged 3 commits into
locationtech:masterfrom
moradology:feature/http-range-reader
Mar 14, 2017
Merged

lossyrob merged 3 commits into
locationtech:masterfrom
moradology:feature/http-range-reader

Conversation

@moradology

@moradology moradology commented Mar 14, 2017 •

Copy link
Copy Markdown
Contributor

This PR adds support for Reading TIFF data stored at HTTP locations which expose the ability to specify byte-based range reading.

The library included (scalaj-http) is a very thin wrapper around Java's HttpUrlConnection. It provides some useful features (it is syntactically far superior to the java it wraps), cleans up after itself, brings in no further dependencies, and is licensed under Apache 2.0.

Testing required adding another container. Testing should now kick off a container which serves contents from spark/src/test/resources and accepts range-based reads.

@moradology
moradology force-pushed the feature/http-range-reader branch from e52bd7d to 71533f8 Compare March 14, 2017 16:38
@lossyrob lossyrob added this to the 1.1 milestone Mar 14, 2017
@lossyrob
lossyrob merged commit c3fee17 into locationtech:master Mar 14, 2017
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.

2 participants