- 204 No Content should be mocked with empty response bodies
- Content-Type headers should not be mocked with empty response bodies
- httplib2 would never return None as a response body
- The Identity API never expects a req/resp body with a string value of "null"
Reviewed: https:/ /review. openstack. org/12909 github. com/openstack/ python- keystoneclient/ commit/ 59917278d7a2e37 60d6229f874b2a9 53bf2b28cc
Committed: http://
Submitter: Jenkins
Branch: master
commit 59917278d7a2e37 60d6229f874b2a9 53bf2b28cc
Author: Dolph Mathews <email address hidden>
Date: Wed Sep 12 17:34:09 2012 -0500
Fixed httplib2 mocking (bug 1050091, bug 1050097)
- 204 No Content should be mocked with empty response bodies
- Content-Type headers should not be mocked with empty response bodies
- httplib2 would never return None as a response body
- The Identity API never expects a req/resp body with a string value of "null"
Change-Id: Ie22e8e52885732 68165ed06049978 195955f8ca6