commit | 5403b7905bae5f37519978b240365c2370c82490 | [log] [tgz] |
---|---|---|
author | Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> | Tue May 06 15:24:54 2014 -0400 |
committer | Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> | Tue May 06 15:24:54 2014 -0400 |
tree | 5dfe65737a887c553384e44fb9b69f5747cad16c | |
parent | 790a96d0d571bbac019499a24a12ed2b72249174 [diff] |
Check non json type on glance client json_request method This patch adds Content-Type headers for request and responses in glance_http json_request methods based on what was discussed in a previous patch. (https://review.openstack.org/#/c/84454/4/tempest/tests/test_glance_http.py) Also includes a couple of unit tests to assure the behavior. Related to bp unit-tests Change-Id: I570c86401f878ab8048194be252ce82d1b44f5b4