Remove /context/ request

This commit is contained in:
Erik Johnston 2014-11-07 11:40:38 +00:00
parent 97a096b507
commit 328dab2463
2 changed files with 0 additions and 16 deletions

View File

@ -272,13 +272,6 @@ class ReplicationLayer(object):
defer.returnValue(pdus) defer.returnValue(pdus)
@defer.inlineCallbacks
@log_function
def on_context_pdus_request(self, context):
raise NotImplementedError(
"on_context_pdus_request is a security violation"
)
@defer.inlineCallbacks @defer.inlineCallbacks
@log_function @log_function
def on_backfill_request(self, context, versions, limit): def on_backfill_request(self, context, versions, limit):

View File

@ -403,15 +403,6 @@ class TransportLayer(object):
) )
) )
self.server.register_path(
"GET",
re.compile("^" + PREFIX + "/context/([^/]*)/$"),
self._with_authentication(
lambda origin, content, query, context:
handler.on_context_pdus_request(context)
)
)
# This is when we receive a server-server Query # This is when we receive a server-server Query
self.server.register_path( self.server.register_path(
"GET", "GET",