title: Fog - Get size of object in S3
body: <p>How can I get the size of an s3 object in fog without downloading it?</p>
  
  <p>For example:</p>
  
  <pre><code>connection.get_object(dir.key, latest_backup.key).body.size
  </code></pre>
  
  <p>requires I download the object first.</p>
  
  <p>How can I find out the size before downloading?</p>