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 support for partial content to support range header. #106

Merged
merged 1 commit into from
Mar 17, 2016

Conversation

tensiondriven
Copy link
Contributor

The gem seems to support the http Range: header, however it doesn't accept the 206 response from google, which is required. (206 = Partial Content)

The following PR adds basic support for accepting 206 Partial Content, allowing the Range header to be used to get objects from GCS.

@icco
Copy link
Member

icco commented Mar 17, 2016

Hilarious, the docs say nothing about a different header coming back. Thanks for this @tronathan.

Please rebase or merge master and I'll merge this.

cc @erjohnso on the documentation bug.

@erjohnso
Copy link
Contributor

Thanks for the fix @tronathan and thanks for flagging @icco. Put in a cl for the docs fix.

@icco icco merged commit 939e914 into fog:master Mar 17, 2016
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.

3 participants