forked-synapse/synapse/handlers
Kegan Dougal 96d4bf9012 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)
2015-02-04 17:07:31 +00:00
..
__init__.py Merge branch 'develop' into application-services 2015-02-02 15:57:59 +00:00
_base.py Replace hs.parse_userid with UserID.from_string 2015-01-23 11:47:15 +00:00
admin.py Update copyright notices 2015-01-06 13:21:39 +00:00
appservice.py Add query_user/alias APIs. 2015-02-04 16:44:53 +00:00
directory.py Replace hs.parse_roomalias with RoomAlias.from_string 2015-01-23 13:21:58 +00:00
events.py Merge branch 'develop' into pushers 2015-01-28 12:51:05 +00:00
federation.py Resign events when we return them via /query_auth/ 2015-01-30 22:53:13 +00:00
login.py Modify API for SimpleHttpClient.get_json and update usages. 2015-02-04 17:07:31 +00:00
message.py Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events 2015-01-28 16:58:23 +00:00
presence.py Merge branch 'develop' into pushers 2015-01-28 12:51:05 +00:00
profile.py Replace hs.parse_userid with UserID.from_string 2015-01-23 11:47:15 +00:00
register.py Modify API for SimpleHttpClient.get_json and update usages. 2015-02-04 17:07:31 +00:00
room.py Pass the current time to serialize event, rather than passing an 2015-01-26 16:11:28 +00:00
sync.py Return empty list rather than None when there are no emphemeral events for a room 2015-01-30 16:56:13 +00:00
typing.py Replace hs.parse_userid with UserID.from_string 2015-01-23 11:47:15 +00:00