MCPcopy Create free account
hub / github.com/gawel/pyquery / application

Function application

tests/apps.py:20–27  ·  view source on GitHub ↗
(environ, start_response)

Source from the content-addressed store, hash-verified

18
19
20def application(environ, start_response):
21 req = Request(environ)
22 response = Response()
23 if req.method == 'GET':
24 response.text = '<pre>Yeah !</pre>'
25 else:
26 response.text = '<a href="/plop">Yeah !</a>'
27 return response(environ, start_response)
28
29
30def secure_application(environ, start_response):

Callers 1

secure_applicationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…