> @@ -149,8 +146,8 @@ private void appendCanonicalizedHeaders(HttpRequest 
> request, StringBuilder toSig
>              // replacing any
>              // newline characters and extra embedded white spaces in the 
> value.
>              for (String value : request.getHeaders().get(header)) {
> -               value = Strings2.replaceAll(value, TWO_SPACE_PATTERN, " ");
> -               value = Strings2.replaceAll(value, NEWLINE_PATTERN, "");
> +               value = value.replace("  ", " ");

Matches existing behavior.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/21/files#r4488280

Reply via email to