title: Not sending authorization header from Angular to AWS
body: <p>I'm trying to build a web app that should fetch a pre-signed Amazon S3 URL, and then upload a file to that URL using Knox. </p>
  
  <p>However S3 gives me this error when I try to access my bucket</p>
  
  <pre><code>&lt;Error&gt;&lt;Code&gt;InvalidArgument&lt;/Code&gt;&lt;Message&gt;Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified&lt;/Message&gt;&lt;ArgumentName&gt;Authorization&lt;/ArgumentName&gt;&lt;ArgumentValue&gt;Bearer *****bearer token*****&lt;/ArgumentValue&gt;&lt;RequestId&gt;1AFD8C7FD2D7E667&lt;/RequestId&gt;&lt;HostId&gt;ID&lt;/HostId&gt;&lt;/Error&gt;
  </code></pre>
  
  <p>I can see that my request to Amazon not only contains my Amazon keys, but also my Authorization Header</p>
  
  <pre><code>https://bucket.s3-eu-west-1.amazonaws.com/image.jpg?Expires=1418226249&amp;AWSAccessKeyId=&lt;key&gt;&amp;Signature=DHYCio7Oao%2BnzPWiiWkGlHb0NAU%3D
  </code></pre>
  
  <p>and the header
      Authorization:Bearer </p>
  
  <p>the code looks like</p>
  
  <pre><code>  $http.post(image, data, {headers: { 'Authorization': null }, withCredentials: false}   ).success(function (url) {
          item.images[0] = url;
          $http.post('/api/item', item);
        });
  </code></pre>
  
  <p>How do I get rid of the Authorization token for requests not pointing to my domain?</p>
  
  <p>Regards</p>