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

Byte Range Get Response #10

Closed
ghost opened this issue Sep 5, 2011 · 2 comments
Closed

Byte Range Get Response #10

ghost opened this issue Sep 5, 2011 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 5, 2011

Is there a way where when we use getObject, we only receive the first X number of bytes of the object? Because I need to parse mp3 id3/metadata, however, it's inefficient to download the ENTIRE s3 object, save it, parse it, then delete it. I simply need the first ~1024 bytes of the file. How would I pass the get header: range= 0-1024

@tpyo
Copy link
Owner

tpyo commented Oct 4, 2011

It should be possible, but it's unlikely that this will be implemented. If you'd be willing to help with a patch I could assist though.

@tpyo
Copy link
Owner

tpyo commented Oct 5, 2013

@greenlion has submitted a pull request (#58) for this that I'm going to tweak a little, so I'm closing this issue.

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

No branches or pull requests

1 participant