blob: 9d209556327b8d40439cffb6304965f4612799fa (
plain) (
tree)
|
|
def application(environ, start_response):
input_length = int(environ.get('HTTP_INPUT_LENGTH'))
body = bytes(environ['wsgi.input'].read(input_length))
start_response('200', [('Content-Length', str(len(body)))])
return [body]
|