MCPcopy Index your code
hub / github.com/RustPython/RustPython / _needs_transcode

Function _needs_transcode

Lib/wsgiref/handlers.py:30–32  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

28}.__contains__
29
30def _needs_transcode(k):
31 return _is_request(k) or k.startswith('HTTP_') or k.startswith('SSL_') \
32 or (k.startswith('REDIRECT_') and _needs_transcode(k[9:]))
33
34def read_environ():
35 """Read environment, fixing HTTP variables"""

Callers 1

read_environFunction · 0.85

Calls 1

startswithMethod · 0.45

Tested by

no test coverage detected