MCPcopy
hub / github.com/pallets/werkzeug / app

Function app

tests/test_test.py:127–130  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

125
126 @Request.application
127 def app(request: Request) -> Response:
128 r = Response()
129 r.set_cookie("k", "v", path=None)
130 return r
131
132 c = Client(app)
133 c.get("/nested/leaf")

Callers 6

innerFunction · 0.70
run_wsgi_appFunction · 0.50
applicationMethod · 0.50
executeMethod · 0.50
__call__Method · 0.50
__call__Method · 0.50

Calls 7

set_cookieMethod · 0.95
ResponseClass · 0.90
redirectFunction · 0.90
get_dataMethod · 0.45
getMethod · 0.45
set_cookieMethod · 0.45
delete_cookieMethod · 0.45

Tested by

no test coverage detected