MCPcopy Create free account
hub / github.com/pallets/flask / __init__

Method __init__

tests/test_basic.py:271–273  ·  view source on GitHub ↗
(self, app, prefix)

Source from the content-addressed store, hash-verified

269def test_session_using_application_root(app, client):
270 class PrefixPathMiddleware:
271 def __init__(self, app, prefix):
272 self.app = app
273 self.prefix = prefix
274
275 def __call__(self, environ, start_response):
276 environ["SCRIPT_NAME"] = self.prefix

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected