MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / fixed_environ

Method fixed_environ

21-async/mojifinder/bottle.py:2755–2757  ·  view source on GitHub ↗
(environ, start_response)

Source from the content-addressed store, hash-verified

2753 def run(self, handler): # pragma: no cover
2754 from wsgiref.handlers import CGIHandler
2755 def fixed_environ(environ, start_response):
2756 environ.setdefault('PATH_INFO', '')
2757 return handler(environ, start_response)
2758 CGIHandler().run(fixed_environ)
2759
2760

Callers

nothing calls this directly

Calls 1

setdefaultMethod · 0.80

Tested by

no test coverage detected