diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-09 09:56:10 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-09 09:56:10 +0100 |
commit | 62564797f5f9c6b1295a98a9742ae226b87a135e (patch) | |
tree | 6a6b0e0191bb2cc9af0ca56d5be7b8bfb73daf9b /synapse/replication/http/_base.py | |
parent | Rename POST param to METHOD (diff) | |
download | synapse-62564797f5f9c6b1295a98a9742ae226b87a135e.tar.xz |
Fixup wording and remove dead code
Diffstat (limited to 'synapse/replication/http/_base.py')
-rw-r--r-- | synapse/replication/http/_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/replication/http/_base.py b/synapse/replication/http/_base.py index 53a0fd459a..5e5376cf58 100644 --- a/synapse/replication/http/_base.py +++ b/synapse/replication/http/_base.py @@ -183,7 +183,6 @@ class ReplicationEndpoint(object): """ url_args = list(self.PATH_ARGS) - method = "GET" handler = self._handle_request method = self.METHOD @@ -201,7 +200,7 @@ class ReplicationEndpoint(object): def _cached_handler(self, request, txn_id, **kwargs): """Called on new incoming requests when caching is enabled. Checks - if their is a cached response for the request and returns that, + if there is a cached response for the request and returns that, otherwise calls `_handle_request` and caches its response. """ # We just use the txn_id here, but we probably also want to use the |