Reviewed: https://review.openstack.org/279955 Committed: https://git.openstack.org/cgit/openstack/swauth/commit/?id=556aa156979741292bde78425f413f9dee639b4f Submitter: Jenkins Branch: master
commit 556aa156979741292bde78425f413f9dee639b4f Author: Brian Cline <email address hidden> Date: Sun Feb 14 04:55:42 2016 -0600
Use correct content type on JSON responses
Currently, in cases where swauth returns a JSON document as its body, it does not specify a content type, and swob defaults it to text/html.
This change uses a standard content type of 'application/json' in each of these instances, and adjusts the tests accordingly.
Closes-Bug: #1545430 APIImpact
Change-Id: I96d343a87f462811bcefb7d402887f8a570fe6bd
Reviewed: https:/ /review. openstack. org/279955 /git.openstack. org/cgit/ openstack/ swauth/ commit/ ?id=556aa156979 741292bde78425f 413f9dee639b4f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 556aa1569797412 92bde78425f413f 9dee639b4f
Author: Brian Cline <email address hidden>
Date: Sun Feb 14 04:55:42 2016 -0600
Use correct content type on JSON responses
Currently, in cases where swauth returns a JSON document as its body,
it does not specify a content type, and swob defaults it to text/html.
This change uses a standard content type of 'application/json' in each
of these instances, and adjusts the tests accordingly.
Closes-Bug: #1545430
APIImpact
Change-Id: I96d343a87f4628 11bcefb7d402887 f8a570fe6bd