Skip to content
Snippets Groups Projects
Commit 62564797 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fixup wording and remove dead code

parent bebe325e
No related branches found
No related tags found
No related merge requests found
Refactor HTTP replication endpoints to reduce code duplication
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment