If we force the hostname to lower case when generating the canonical headers for the request signature, as suggested by the "must be trimmed and lowercase" comment above, we don't generate a confusing signature error when the user types the hostname in mixed case.
If we force the hostname to lower case when generating the canonical headers for the request signature, as suggested by the "must be trimmed and lowercase" comment above, we don't generate a confusing signature error when the user types the hostname in mixed case.
This fixes https://github.com/okigan/awscurl/issues/186.