title: Amazon S3 object redirect
body: <p>Is it possible to put a redirect header on a s3-object? Like a 301 redirect.</p>
  
  <p>For example:</p>
  
  <pre><code>mybucket.amazon-aws.com/myobject --&gt; example.com/test
  </code></pre>
  
  <p>Preferably by setting a header like this on the object:</p>
  
  <pre><code>HTTP/1.1 301 Moved Permanently
  Location: http://example.com/test
  Content-Type: text/html
  Content-Length: 0
  </code></pre>