fix token creation

This commit is contained in:
adamscmRH
2018-03-01 11:03:16 -05:00
parent d7616accf5
commit fa7647f828
7 changed files with 29 additions and 41 deletions

View File

@@ -531,7 +531,7 @@ def _request(verb):
user = data_or_user
elif 'data' not in kwargs:
kwargs['data'] = data_or_user
if 'format' not in kwargs:
if 'format' not in kwargs and 'content_type' not in kwargs:
kwargs['format'] = 'json'
view, view_args, view_kwargs = resolve(urlparse(url)[2])