You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/waitress/tests/fixtureapps/toolarge.py

8 lines
218 B

5 years ago
def app(environ, start_response): # pragma: no cover
body = b"abcdef"
cl = len(body)
start_response(
"200 OK", [("Content-Length", str(cl)), ("Content-Type", "text/plain")]
)
return [body]