remove trailing \r\n that causes problems
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@934298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6054dd897d
commit
de692aea08
|
@ -95,8 +95,7 @@ public class AWSScheme implements AuthScheme {
|
|||
|
||||
String signature = calculateRFC2104HMAC(toSign.toString(), credentials.getPassword());
|
||||
|
||||
String headerValue = NAME + " " + credentials.getUserPrincipal().getName() + ":"
|
||||
+ signature;
|
||||
String headerValue = NAME + " " + credentials.getUserPrincipal().getName() + ":" + signature.trim();
|
||||
|
||||
return new BasicHeader("Authorization", headerValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue