summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-04 17:07:31 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-04 17:07:31 +0000
commit96d4bf90120a07faa5163c2e5af542358554dd61 (patch)
tree6e95cea34f716e9719007724058f0255eea81896 /contrib
parentAdd query_user/alias APIs. (diff)
downloadsynapse-96d4bf90120a07faa5163c2e5af542358554dd61.tar.xz
Modify API for SimpleHttpClient.get_json and update usages.
Previously, this would only return the HTTP body as JSON, and discard other
response information (e.g. the HTTP response code). This has now been changed
to throw a CodeMessageException on a non-2xx response, with the response code
and body, which can then be parsed as JSON.

Affected modules include:
 - Registration/Login (when using an email for IS auth)
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions