summaryrefslogtreecommitdiffstats
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-02-25 14:17:09 +0530
committerThiago da Silva <thiago@redhat.com>2016-03-11 10:24:43 -0800
commit529526c68acb3acdf732d962b7cc8195081cbf56 (patch)
tree2ff66b835a010e230e0cdeac4e1f761f3ec7c15f /test-requirements.txt
parent9d00e874b5b8f615ff7102639ccf375cc6630c94 (diff)
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. This is ported from following commit in swauth repo: 556aa156979741292bde78425f413f9dee639b4f Change-Id: Ib61370ba10b5e0364c2aed6321388715a6710355 Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/13521 Reviewed-by: Thiago da Silva <thiago@redhat.com> Tested-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'test-requirements.txt')
0 files changed, 0 insertions, 0 deletions