Tests for the old twisted.web.client
APIs,
getPage
and friends.
Class | ExtendedRedirect | Redirection resource. |
Class | ForeverTakingResource | ForeverTakingResource
is a resource which never finishes responding to requests. |
Class | ForeverTakingNoReadingResource | ForeverTakingNoReadingResource
is a resource that never finishes responding and that removes itself from
the read loop. |
Class | CookieMirrorResource | Undocumented |
Class | RawCookieMirrorResource | Undocumented |
Class | ErrorResource | Undocumented |
Class | NoLengthResource | Undocumented |
Class | HostHeaderResource | A testing resource which renders itself as the value of the host header from the request. |
Class | PayloadResource | A testing resource which renders itself as the contents of the request
body as long as the request body is 100 bytes long, otherwise which renders
itself as "ERROR" . |
Class | DelayResource | Undocumented |
Class | BrokenDownloadResource | Undocumented |
Class | CountingRedirect | A Redirect
resource that keeps track of the number of times the resource has been
accessed. |
Class | CountingResource | A resource that keeps track of the number of times it has been accessed. |
Class | URLJoinTests | Tests for client._urljoin . |
Class | HTTPPageGetterTests | Tests for HTTPPagerGetter , the HTTP client protocol
implementation used to implement getPage . |
Class | WebClientTests | No class docstring; 23/41 methods documented |
Class | WebClientSSLTests | Undocumented |
Class | WebClientRedirectBetweenSSLandPlainTextTests | Undocumented |
Class | CookieTests | Undocumented |
Class | HostHeaderTests | Test that HTTPClientFactory
includes the port in the host header if needed. |
Class | URITests | Abstract tests for twisted.web.client.URI . |
Class | URITestsForHostname | Tests for twisted.web.client.URI
with host names. |
Class | URITestsForIPv4 | Tests for twisted.web.client.URI
with IPv4 host addresses. |
Class | URITestsForIPv6 | Tests for twisted.web.client.URI
with IPv6 host addresses. |
Class | DeprecationTests | Tests that client.getPage and
friends are deprecated. |
Class | GetPageMethodInjectionTests | Test client.getPage
against HTTP method injections. |
Class | GetPageURIInjectionTests | Test client.getPage
against URI injections. |
Class | DownloadPageMethodInjectionTests | Test client.getPage
against HTTP method injections. |
Class | DownloadPageURIInjectionTests | Test client.downloadPage
against URI injections. |
Function | makeHTTPPageGetterFactory | Make a ClientFactory
that can be used with client.HTTPPageGetter
and its subclasses. |
Class | HTTPPageGetterMethodInjectionTests | Test client.HTTPPageGetter
against HTTP method injections. |
Class | HTTPPageGetterURIInjectionTests | Test client.HTTPPageGetter
against HTTP URI injections. |
Class | HTTPPageDownloaderMethodInjectionTests | Test client.HTTPPageDownloader
against HTTP method injections. |
Class | HTTPPageDownloaderURIInjectionTests | Test client.HTTPPageDownloader
against HTTP URI injections. |
Class | HTTPClientFactoryMethodInjectionTests | Tests client.HTTPClientFactory
against HTTP method injections. |
Class | HTTPClientFactoryURIInjectionTests | Tests client.HTTPClientFactory
against HTTP URI injections. |
Class | HTTPClientFactorySetURLURIInjectionTests | Tests client.HTTPClientFactory.setURL
against HTTP URI injections. |
Class | HTTPDownloaderMethodInjectionTests | Tests client.HTTPDownloader
against HTTP method injections. |
Class | HTTPDownloaderURIInjectionTests | Tests client.HTTPDownloader
against HTTP URI injections. |
Class | HTTPDownloaderSetURLURIInjectionTests | Tests client.HTTPDownloader.setURL against HTTP URI
injections. |
Make a ClientFactory
that can be used with client.HTTPPageGetter
and its subclasses.
Parameters | protocolClass | The protocol class (type: A subclass of client.HTTPPageGetter ) |
method | the HTTP method | |
host | the host | |
path | The URI path | |
Returns | A ClientFactory . |