sfllaw commented on PR #173:
URL: https://github.com/apache/ant/pull/173#issuecomment-1145284283

   I encountered this bug when using `<get>` with HTTP Basic Auth to supply a 
username and password. If the server responds with a 3xx redirect to an S3 
bucket, Amazon will respond with a 400 Bad Request:
   > Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, 
Signature query string parameter or the Authorization header should be specified
   
   I’m leaving this comment so that others can find this issue. Ant 1.10.13 
will probably solve this, once it is released.
   
   See also:
   * [Bad Request (400) from S3 when downloading artifact from TeamCity in "ant 
get" task using basic http auth scheme (httpAuth prefix in URL)
   
](https://github.com/JetBrains/teamcity-s3-artifact-storage-plugin/tree/0dcc5c04d514cc23e7369b7e092924f67abfc7e8#bad-request-400-from-s3-when-downloading-artifact-from-teamcity-in-ant-get-task-using-basic-http-auth-scheme-httpauth-prefix-in-url)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to