keystoneauth/keystoneauth1
Mike Fedosin ab39cf0667 Prevent changing content type in request
Now if body contains json, its content type forcibly
changes to application/json, which is not correct in
some case, like json-patch request.

This code fixes this situation and sets application/json
contnent type only if this header hasn't been set before.

Change-Id: I4e0c44d444519f056dfa48c9603dbc3ca6b01822
Closes-bug: #1634110
2016-10-17 15:54:45 +03:00
..
access Add is_domain to keystoneauth token 2016-05-18 21:56:36 -03:00
exceptions oidc: deprecate grant_type argument 2016-07-14 11:08:29 +02:00
extras Fix parameters for Kerberos Auth Plugin 2016-09-21 12:22:46 -04:00
fixture Add tests for YamlJsonSerializer 2016-08-04 11:15:51 -05:00
hacking Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
identity Fix a typo in base.py 2016-10-13 09:42:13 +08:00
loading Fix a typo in opts.py 2016-10-13 10:28:00 +08:00
tests Prevent changing content type in request 2016-10-17 15:54:45 +03:00
__init__.py Provide a RFC 7231 compliant user agent string 2015-12-15 16:45:17 -06:00
_utils.py Disables TCP_KEEPCNT when using Windows Subsystem for Linux 2016-08-23 03:36:45 +00:00
adapter.py Allow specifying client and service info to user_agent 2016-10-07 09:53:50 +11:00
discover.py Removing tox ignore D401 and make keystoneauth compliant 2016-04-13 18:46:05 +00:00
plugin.py Removing tox ignore D400. 2016-04-18 21:20:51 +00:00
session.py Prevent changing content type in request 2016-10-17 15:54:45 +03:00
token_endpoint.py Adding authentication compatibility for OpenStackClient 2016-03-07 23:38:22 +00:00