|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, headers) |
| def | info (self) |
| def | getheaders (self, name) |
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 __init__ | ( | self, | |
| headers | |||
| ) |
Make a MockResponse for `cookielib` to read. :param headers: a httplib.HTTPMessage or analogous carrying the headers
| def getheaders | ( | self, | |
| name | |||
| ) |
| def info | ( | self | ) |