boto/boto — pull request #681 by oozie (2012-04-04 14:37:24+00:00)
Title: Fix for Python2.5/httplib and hmac-v3-http signing issue.

This change is to fix Python2.5/httplib and hmac-v3-http signing problem as described in https://github.com/boto/boto/issues/582

TESTING: Boto 2.3.0 on Python2.5-2.7:

BEFORE:

Python 2.5.6 (r256:88840, Apr 4 2012, 14:55:39)
[GCC 4.6.1] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto.swf
>>> l1 = boto.swf.connect_to_region('us-east-1', aws_access_key_id=ACCESS, aws_secret_access_key=SECRET)
>>> l1.list_domains('REGISTERED')
{u'message': u'The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.', u'__type': u'com.amazon.coral.service#InvalidSignatureException'}

Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto.swf
>>> l1 = boto.swf.connect_to_region('us-east-1', aws_access_key_id=ACCESS, aws_secret_access_key=SECRET)
>>> l1.list_domains('REGISTERED')
{'domainInfos': ... }
>>>

AFTER:

Python 2.5.6 (r256:88840, Apr 4 2012, 14:55:39)
[GCC 4.6.1] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto.swf
>>> l1 = boto.swf.connect_to_region('us-east-1', aws_access_key_id=ACCESS, aws_secret_access_key=SECRET)
>>> l1.list_domains('REGISTERED')
{u'domainInfos': ... }

(Python2.6-2.7 still working fine as per above).