boto/botocore — pull request #109 by garnaat (2013-08-20 18:41:59+00:00)
Title: Register the calculate_md5 event handler for additional S3 operations

Register the calculate_md5 event handler for put-bucket-lifecycle and put-bucket-cors operations. Add tests for both. Fixes https://github.com/aws/aws-cli/issues/229.

In the tests, I am explicitly firing the ``before-call`` event in the test to trigger the generation of the ``Content-MD5`` header.