[
https://issues.apache.org/jira/browse/HTTPCLIENT-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857207#action_12857207
]
Asankha C. Perera commented on HTTPCLIENT-926:
----------------------------------------------
My earlier suggestion has been reporting a successful response, but with an
error that the signature did not match which I did not notice ..
A working solution is to just remove the trailing \r\n which otherwise can be
interpreted as part of another [malformed] request. Since this is only at the
end, this should not cause an issue - but if a \r\n indeed does occur within
the header value due to some long signature etc, that could still cause
problems..
For now, I've checked this into SVN
String headerValue = NAME + " " + credentials.getUserPrincipal().getName() +
":" + signature.trim();
cheers
asankha
> Add Amazon S3 authentication support
> ------------------------------------
>
> Key: HTTPCLIENT-926
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-926
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: Contrib
> Reporter: Jean-Philippe Steinmetz
> Fix For: 4.1 Alpha2
>
> Attachments: AWSScheme.java, AWSSchemeFactory.java
>
>
> Add support for the the Amazon S3 authentication scheme as defined by the
> online document:
> http://docs.amazonwebservices.com/AmazonS3/latest/index.html?RESTAuthentication.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]