boto/boto — pull request #1076 by g2harris (2012-10-23 22:07:32+00:00)
Title: Fix signature generation when using a proxy server in boto/auth.py

When using a proxy server AWSAuthConnection.build_base_http_request will modify the http_request.path to include the host header. It caches the original path in the auth_path field so that the signature can be later correctly generated.

Both the HMACAuthV3HTTPHandler and HMACAuthV4HTTPHandler signature generation methods in auth.py look at the path field and not the cached original auth_path which means boto will generate an incorrect signature when using a proxy server.

This patch updates those signature generation methods to use auth_path instead of path.