MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / check_input

Function check_input

tools/python-3.11.9-amd64/Lib/wsgiref/validate.py:363–367  ·  view source on GitHub ↗
(wsgi_input)

Source from the content-addressed store, hash-verified

361 "PATH_INFO should be '/'")
362
363def check_input(wsgi_input):
364 for attr in ['read', 'readline', 'readlines', '__iter__']:
365 assert_(hasattr(wsgi_input, attr),
366 "wsgi.input (%r) doesn't have the attribute %s"
367 % (wsgi_input, attr))
368
369def check_errors(wsgi_errors):
370 for attr in ['flush', 'write', 'writelines']:

Callers 1

check_environFunction · 0.85

Calls 1

assert_Function · 0.85

Tested by

no test coverage detected