title: Amazon AWS S3 signed URL via Wget
body: <p>I am able to create an Amazon S3 signed URL for a bucket in my account from which I can download and upload via the Amazon AWS CLI.</p>
  
  <p>I have created the Amazon S3 URL as follows:</p>
  
  <pre><code>from boto.s3.connection import S3Connection
  key = os.environ['aws_access_key_id']
  secret = os.environ['aws_secret_access_key']
  c = S3Connection(key,secret,is_secure=False)
  bucket = c.get_bucket('my-bucket')
  bktkey = bucket.get_key('stuff.tar.gz')
  seconds=60*60*12
  url2 = bktkey.generate_url(expires_in=seconds)
  print '%s' %url2
  </code></pre>
  
  <p>Using <code>url2</code> and copy pasting it in Chrome, I get stuff.tar.gz downloaded.</p>
  
  <p>But when I use Wget like so</p>
  
  <pre><code>wget &lt;whatever is in url2&gt;
  </code></pre>
  
  <p>I get the following exception,</p>
  
  <pre><code>HTTP request sent, awaiting response... 403 Forbidden
  2015-12-04 20:48:57 ERROR 403: Forbidden.
  </code></pre>
  
  <p>Why is Wget failing where Chrome and Firefox are successful in downloading using the signed Amazon S3 URL?</p>