twisted.web.client._FakeUrllib2Request(object) class documentationtwisted.web.client
View Source
(View In Hierarchy)
A fake urllib2.Request object for cookielib to
work with.
| See Also | http://docs.python.org/library/urllib2.html#request-objects | |
| Present Since | 11.1 | |
| Instance Variable | uri | Request URI. (type: native str) |
| Instance Variable | headers | Request headers. (type: twisted.web.http_headers.Headers) |
| Instance Variable | type | The scheme of the URI. (type: native str) |
| Instance Variable | host | The host[:port] of the URI. (type: native str) |
| Method | __init__ | Create a fake Urllib2 request. |
| Method | has_header | Undocumented |
| Method | add_unredirected_header | Undocumented |
| Method | get_full_url | Undocumented |
| Method | get_header | Undocumented |
| Method | get_host | Undocumented |
| Method | get_type | Undocumented |
| Method | is_unverifiable | Undocumented |