Part of twisted.web2.channel.http View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | gotInitialLine | Undocumented |
Method | lineLengthExceeded | Undocumented |
Method | createRequest | Undocumented |
Method | processRequest | Undocumented |
Method | handleContentChunk | Undocumented |
Method | handleContentComplete | Undocumented |
Method | writeIntermediateResponse | Undocumented |
Method | writeHeaders | Undocumented |
Method | write | Undocumented |
Method | finish | We are finished writing data. |
Method | abortConnection | No summary |
Method | getHostInfo | Undocumented |
Method | getRemoteHost | Undocumented |
Method | noLongerQueued | Notify the object that it is no longer queued. |
Method | registerProducer | Register a producer. |
Method | unregisterProducer | Unregister the producer. |
Method | connectionLost | connection was lost |
Method | _writeHeaders | Undocumented |
Method | _abortWithError | Handle low level protocol errors. |
Method | _cleanup | Called when have finished responding and are no longer queued. |
Inherited from HTTPParser:
Method | lineReceived | Undocumented |
Method | rawDataReceived | Handle incoming content. |
Method | headerReceived | Store this header away. Check for too much header data (> channel.maxHeaderLength) and abort the connection if so. |
Method | allHeadersReceived | Undocumented |
Method | allContentReceived | Undocumented |
Method | splitConnectionHeaders | Split off connection control headers from normal headers. |
Method | setConnectionParams | Undocumented |
Method | abortParse | Undocumented |
Method | pauseProducing | Undocumented |
Method | resumeProducing | Undocumented |
Method | stopProducing | Undocumented |
Abort the HTTP connection because of some kind of unrecoverable error. If closeWrite=False, then only abort reading, but leave the writing side alone. This is mostly for internal use by the HTTP request parsing logic, so that it can call an error page generator.
Otherwise, completely shut down the connection.Notify the object that it is no longer queued.
We start writing whatever data we have to the transport, etc.
This method is not intended for users.