forked-synapse/synapse/rest/client/v2_alpha
Richard van der Hoff 318711e139 Set Server header in SynapseRequest
(instead of everywhere that writes a response. Or rather, the subset of places
which write responses where we haven't forgotten it).

This also means that we don't have to have the mysterious version_string
attribute in anything with a request handler.

Unfortunately it does mean that we have to pass the version string wherever we
instantiate a SynapseSite, which has been c&ped 150 times, but that is code
that ought to be cleaned up anyway really.
2018-05-10 18:50:27 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py rewrite based on PR feedback: 2018-01-19 15:33:55 +00:00
account_data.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
account.py trailing commas 2018-01-19 15:38:53 +00:00
auth.py Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
devices.py Fix error when deleting devices 2017-12-05 09:49:22 +00:00
filter.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
groups.py Use "/settings/" (plural) 2018-04-05 14:07:16 +01:00
keys.py register some /unstable endpoints in /r0 as well 2017-10-26 15:22:50 +02:00
notifications.py notifications: Convert next_token to string according to the spec 2018-05-05 12:55:02 +03:00
openid.py Rename openid/token to openid/request_token 2016-05-05 15:15:00 +01:00
read_marker.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
receipts.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
register.py Construct HMAC as bytes on py3 2018-04-29 00:19:41 +02:00
report_event.py Add timestamp and auto incrementing ID 2016-05-04 15:19:12 +01:00
sendtodevice.py register some /unstable endpoints in /r0 as well 2017-10-26 15:22:50 +02:00
sync.py Replace some ujson with simplejson to make it work 2018-03-16 00:27:09 +00:00
tags.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
thirdparty.py add release endpoints for /thirdparty 2017-10-26 16:58:20 +02:00
tokenrefresh.py Rip out more refresh_token code 2016-11-30 17:40:18 +00:00
user_directory.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00