OPSI.web2.twscgi module¶
SCGI client resource and protocols.
-
class
OPSI.web2.twscgi.
SCGIClientResource
(port, host='localhost')¶ Bases:
OPSI.web2.resource.LeafResource
A resource that connects to an SCGI server and relays the server’s response to the browser.
This resource connects to a SCGI server on a known host (‘localhost’, by default) and port. It has no responsibility for starting the SCGI server.
If the server is not running when a client connects then a BAD_GATEWAY response will be returned immediately.
-
renderHTTP
(request)¶
-