circuits.web.http module¶
Hyper Text Transfer Protocol
This module implements the server side Hyper Text Transfer Protocol or commonly known as HTTP.
- class circuits.web.http.HTTP(*args, **kwargs)¶
 Bases:
BaseComponentHTTP Protocol Component
Implements the HTTP server protocol and parses and processes incoming HTTP messages, creating and sending an appropriate response.
The component handles
Readevents on its channel and collects the associated data until a complete HTTP request has been received. It parses the request’s content and puts it in aRequestobject and creates a correspondingResponseobject. Then it emits aRequestevent with these objects as arguments.The component defines several handlers that send a response back to the client.
Initializes x; see x.__class__.__doc__ for signature
- channel = 'web'¶
 
- property version¶
 
- property protocol¶
 
- property scheme¶
 
- property base¶
 
- property uri¶