Part of twisted.web2.iweb View Source View In Hierarchy
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 301 | Method | writeIntermediateResponse | Write a non-terminating response. |
| 314 | Method | writeHeaders | Write a final response. |
| 325 | Method | write | Write some data. |
| 333 | Method | finish | Finish the request, and clean up the connection if necessary. |
| 338 | Method | abortConnection | Forcibly abort the connection without cleanly closing. |
| 344 | Method | registerProducer | Register a producer with the standard API. |
| 348 | Method | unregisterProducer | Unregister a producer. |
| 352 | Method | getHostInfo | Returns a tuple of (address, socket user connected to, |
| 360 | Method | getRemoteHost | Returns an address of the remote host. |
Write a non-terminating response.
Intermediate responses cannot contain data. If the channel does not support intermediate responses, do nothing.| Parameters | code | (type: int ) |
| headers | (type: twisted.web.http_headers.Headers
) | |
| Instance Variables | code | The response code. Should be in the 1xx range. |
| headers | the headers to send in the response |
| Parameters | code | The response code. Should not be in the 1xx range. (type: int ) |
| headers | the headers to send in the response. They will be augmented with any
connection-oriented headers as necessary for the protocol.
(type: twisted.web.http_headers.Headers
) |