boto/boto — pull request #1541 by sjones4 (2013-06-06 23:24:52+00:00)
Title: Preserve trailing / when canonicalizing URI path for signature V4

The recently added URI path canonicalization for signature V4 incorrectly removes a trailing / from the end of the path. This pull request checks if the path originally ended with a / and if so adds it back to the canonicalized path.

It is not possible to work around this issue by leaving the / out of the URL used for a request as the HTTP client adds a trailing / to the configured path.

This issue impacts use of boto with Eucalyptus which currently uses paths for services such as "/services/Euare/" for the IAM service.