smore-inc / tinys3

A simple python S3 upload library. Inspired by requests
MIT License
285 stars 54 forks source link

Add option to send HEAD request #42

Open hhursev opened 9 years ago

hhursev commented 9 years ago

My use case is as follow:

I have some database dumps stored in s3. I want to check my dumps sizes, so I actually don't need the request response content, but the content-length from the headers of the response. Say dumps are 50 GB of size, then a get request is a bad idea.

Having native conn.head(key) will come handy for me.