PyDocs

Nav

Internet Protocols and Support

SimpleHandler

  • SimpleHandler(stdin, stdout, stderr, environ, multithread=True, multiprocess=False)
Handler that's just initialized with streams, environment, etc.

This handler subclass is intended for synchronous HTTP/1.0 origin servers,
and handles sending the entire response output, given the correct inputs.

Usage::

    handler = SimpleHandler(
        inp,out,err,env, multithread=False, multiprocess=True
    )
    handler.run(app)
0 Examples
No examples for wsgiref.handlers/SimpleHandler.
See Also
No see-alsos for wsgiref.handlers/SimpleHandler
0 Notes
No notes for SimpleHandler