|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | info |
| def | getheaders |
Private Attributes | |
| _headers | |
Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`. ...what? Basically, expose the parsed HTTP headers from the server response the way `cookielib` expects to see them.
| def pip._vendor.requests.cookies.MockResponse.__init__ | ( | self, | |
| headers | |||
| ) |
Make a MockResponse for `cookielib` to read. :param headers: a httplib.HTTPMessage or analogous carrying the headers
| def pip._vendor.requests.cookies.MockResponse.getheaders | ( | self, | |
| name | |||
| ) |
| def pip._vendor.requests.cookies.MockResponse.info | ( | self | ) |
|
private |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.