![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| __init__ (self, headers) | |
| info (self) | |
| getheaders (self, name) | |
Protected 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.
| 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