module documentation
Test HTTP support.
Class |
|
Tests for the way HTTPChannel manages backpressure. |
Class |
|
Tests for _ChunkedTransferDecoder , which turns a byte stream encoded using HTTP chunked Transfer-Encoding back into the original byte stream. |
Class |
|
No class docstring; 0/1 class variable, 3/5 methods documented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Test date parsing functions. |
Class |
|
Like DummyHTTPHandler , but doesn't respond immediately. |
Class |
|
Tests for deprecated attributes of twisted.web.http.Request . |
Class |
|
Undocumented |
Class |
|
This is exactly like the DummyHTTPHandler but it takes only one argument in its constructor, with no default arguments. This exists to test an alternative code path in HTTPChannel . |
Class |
|
An HTTP request handler that registers a dummy pull producer to serve the body. |
Class |
|
Test that the HTTP server handles 'Expect: 100-continue' header correctly. |
Class |
|
Tests for http._genericHTTPChannelProtocol , a HTTPChannel -alike which can handle different HTTP protocol channels. |
Class |
|
Test the http._hexint and http._ishexdigits helper functions. |
Class |
|
Undocumented |
Class |
|
No class docstring; 0/2 class variable, 9/9 methods documented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Test that HTTPChannel sanitizes its output. |
Class |
|
Test that http.HTTPClient sanitizes its output. |
Class |
|
Undocumented |
Class |
|
Tests for _IdentityTransferDecoder . |
Class |
|
Undocumented |
Class |
|
Tests to exercise handling of multiline headers by HTTPClient . RFCs 1945 (HTTP 1.0) and 2616 (HTTP 1.1) state that HTTP message header fields can span multiple lines if each extra line is preceded by at least one space or horizontal tab. |
Class |
|
Tests for protocol parsing in HTTPChannel . |
Class |
|
Tests for persistent HTTP connections. |
Class |
|
Tests that multiple pipelined requests with bodies are correctly buffered. |
Class |
|
No class docstring; 2/2 methods documented |
Class |
|
Tests for http.Request |
Class |
|
A mixin that provides a simple means of comparing an actual response string to an expected response string by performing the minimal parsing. |
Class |
|
Tests that http.Request.isSecure correctly takes the transport into account. |
Class |
|
Tests that connections can be shut down by http.Request objects. |
Function | parametrize |
Parametrizes the TimeoutMixin so that it works with whatever reactor is being used by the test. |
Function | sub |
Create a new dict containing only a subset of the items of an existing dict. |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Class | _ |
Proxy _IDeprecatedHTTPChannelToRequestInterface . Used to assert that the interface matches what HTTPChannel expects. |
Function | _make |
No summary |
Function | _prequest |
Make a request with the given request headers for the persistence tests. |
Parametrizes the TimeoutMixin
so that it works with whatever reactor is being used by the test.
Parameters | |
protocol:_GenericHTTPChannel | A _GenericHTTPChannel or something implementing a similar interface. |
reactor:IReactorTime | An IReactorTime implementation. |
Returns | |
The channel, with its callLater method patched. |
Create a new dict containing only a subset of the items of an existing dict.
Parameters | |
keys | An iterable of the keys which will be added (with values from d) to the result. |
d | The existing dict from which to copy items. |
Returns | |
dict | The new dict with keys given by keys and values given by the corresponding values in d. |