MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / add_route

Method add_route

thirdparty/bottle/bottle.py:864–869  ·  view source on GitHub ↗

Add a route object, but do not change the :data:`Route.app` attribute.

(self, route)

Source from the content-addressed store, hash-verified

862 return urljoin(urljoin('/', scriptname), location)
863
864 def add_route(self, route):
865 """ Add a route object, but do not change the :data:`Route.app`
866 attribute."""
867 self.routes.append(route)
868 self.router.add(route.rule, route.method, route, name=route.name)
869 if DEBUG: route.prepare()
870
871 def route(self,
872 path=None,

Callers 3

_mount_appMethod · 0.95
mergeMethod · 0.95
decoratorMethod · 0.95

Calls 3

appendMethod · 0.45
addMethod · 0.45
prepareMethod · 0.45

Tested by

no test coverage detected