Skip to content


Byte Range Get Response #10

automatwon opened this Issue · 2 comments

2 participants


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


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.


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

@tpyo tpyo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.