Wizard
Software Engineering Project - Wizard
|
elif e.code >= 500 and e.code < 600: More...
Public Attributes | |
save_cookies | |
cookie_file = os.open(self.cookie_file, os.O_CREAT, 0600) | |
cookie_jar = cookielib.MozillaCookieJar(self.cookie_file) | |
bool | authenticated = True |
![]() | |
host = host | |
host_override = host_override | |
auth_function = auth_function | |
bool | authenticated = False |
extra_headers = extra_headers | |
save_cookies = save_cookies | |
opener = self._GetOpener() | |
Protected Member Functions | |
_Authenticate (self) | |
_GetOpener (self) | |
![]() | |
_CreateRequest (self, url, data=None) | |
_GetAuthToken (self, email, password) | |
_GetAuthCookie (self, auth_token) | |
Additional Inherited Members | |
![]() | |
__init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) | |
Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, **kwargs) | |
elif e.code >= 500 and e.code < 600:
continue
Provides a simplified RPC-style interface for HTTP requests.
|
protected |
Save the cookie jar after authentication.
Reimplemented from upload.AbstractRpcServer.
|
protected |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Reimplemented from upload.AbstractRpcServer.