class documentation
class DummyRequestForLogTest(DummyRequest): (source)
Undocumented
Method | get |
As getClientIP is deprecated, no log formatter should call it. |
Class Variable | client |
Undocumented |
Class Variable | clientproto |
Undocumented |
Class Variable | code |
Undocumented |
Class Variable | sent |
Undocumented |
Class Variable | uri |
Undocumented |
Inherited from DummyRequest
:
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | finish |
Record that the request is finished and callback and Deferred s waiting for notification of this. |
Method | get |
Return dictionary mapping the names of all received headers to the last value received for each. |
Method | get |
Return the IAddress of the client that made this request. |
Method | get |
Retrieve the value of a request header. |
Method | get |
Get a dummy transport's host. |
Method | get |
Get a dummy hostname associated to the HTTP request. |
Method | get |
Undocumented |
Method | notify |
Return a Deferred which is called back with None when the request is finished. This will probably only work if you haven't called finish yet. |
Method | processing |
Errback and Deferreds waiting for finish notification. |
Method | redirect |
Utility function that does a redirect. |
Method | register |
Call an IPullProducer 's resumeProducing method in a loop until it unregisters itself. |
Method | render |
Render the given resource as a response to this request. |
Method | set |
Undocumented |
Method | set |
TODO: make this assert on write() if the header is content-length |
Method | set |
Change the host and port the request thinks it's using. |
Method | set |
Undocumented |
Method | set |
Set the HTTP status response code, but takes care that this is called before any data is written. |
Method | unregister |
Undocumented |
Method | write |
Undocumented |
Class Variable | method |
Undocumented |
Instance Variable | args |
Undocumented |
Instance Variable | finished |
Undocumented |
Instance Variable | go |
Undocumented |
Instance Variable | postpath |
Undocumented |
Instance Variable | prepath |
Undocumented |
Instance Variable | proto |
Undocumented |
Instance Variable | requestheaders |
A Headers instance that stores values for all request headers. |
Instance Variable | request |
Undocumented |
Instance Variable | response |
The response code which was passed to setResponseCode. |
Instance Variable | response |
A Headers instance that stores values for all response headers. |
Instance Variable | response |
Undocumented |
Instance Variable | session |
Undocumented |
Instance Variable | sitepath |
Undocumented |
Instance Variable | written |
The bytes which have been written to the request. |
Instance Variable | _finished |
None or a list of Deferreds which will be called back with None when finish is called or which will be errbacked if processingFailed is called. |
Instance Variable | _force |
Undocumented |
Instance Variable | _server |
Undocumented |