proxygen
|
elif e.code >= 500 and e.code < 600:
Public Attributes | |
cookie_file | |
cookie_jar | |
authenticated | |
Public Attributes inherited from upload.AbstractRpcServer | |
host | |
host_override | |
auth_function | |
authenticated | |
extra_headers | |
save_cookies | |
opener | |
Private Member Functions | |
def | _Authenticate (self) |
def | _GetOpener (self) |
def | _Authenticate (self) |
def | _GetOpener (self) |
def | _Authenticate (self) |
def | _GetOpener (self) |
def | _Authenticate (self) |
def | _GetOpener (self) |
def | _Authenticate (self) |
def | _GetOpener (self) |
def | _Authenticate (self) |
def | _GetOpener (self) |
Additional Inherited Members | |
Public Member Functions inherited from upload.AbstractRpcServer | |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, kwargs) |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, kwargs) |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, kwargs) |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, kwargs) |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | Send (self, request_path, payload=None, content_type="application/octet-stream", timeout=None, kwargs) |
def | __init__ (self, host, auth_function, host_override=None, extra_headers={}, save_cookies=False) |
def | 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.
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
Referenced by upload.HttpRpcServer._Authenticate().
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Save the cookie jar after authentication.
Definition at line 347 of file upload.py.
References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.HttpRpcServer._GetOpener(), upload.AbstractRpcServer.authenticated, upload.HttpRpcServer.cookie_file, upload.HttpRpcServer.cookie_jar, upload.EncodeMultipartFormData(), upload.ErrorExit(), upload.GetContentType(), upload.GetEmail(), upload.GetRpcServer(), join, object, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.HttpRpcServer._GetOpener(), upload.AbstractRpcServer.authenticated, upload.HttpRpcServer.cookie_file, upload.HttpRpcServer.cookie_jar, upload.EncodeMultipartFormData(), upload.ErrorExit(), upload.GetContentType(), upload.GetEmail(), upload.GetRpcServer(), join, object, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.AbstractRpcServer.save_cookies.
Referenced by upload.HttpRpcServer._GetOpener().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.HttpRpcServer._GetOpener(), upload.AbstractRpcServer.authenticated, upload.HttpRpcServer.cookie_file, upload.HttpRpcServer.cookie_jar, upload.EncodeMultipartFormData(), upload.ErrorExit(), upload.GetContentType(), upload.GetEmail(), upload.GetRpcServer(), join, object, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.HttpRpcServer._GetOpener(), upload.AbstractRpcServer.authenticated, upload.HttpRpcServer.cookie_file, upload.HttpRpcServer.cookie_jar, upload.EncodeMultipartFormData(), upload.ErrorExit(), upload.GetContentType(), upload.GetEmail(), upload.GetRpcServer(), join, object, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
|
private |
Returns an OpenerDirector that supports cookies and ignores redirects. Returns: A urllib2.OpenerDirector object.
Definition at line 354 of file upload.py.
References upload.HttpRpcServer._GetOpener(), upload.AbstractRpcServer.authenticated, upload.HttpRpcServer.cookie_file, upload.HttpRpcServer.cookie_jar, upload.EncodeMultipartFormData(), upload.ErrorExit(), upload.GetContentType(), upload.GetEmail(), upload.GetRpcServer(), join, object, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().
upload.HttpRpcServer.cookie_file |
Definition at line 368 of file upload.py.
Referenced by upload.HttpRpcServer._Authenticate(), and upload.HttpRpcServer._GetOpener().
upload.HttpRpcServer.cookie_jar |
Definition at line 369 of file upload.py.
Referenced by upload.HttpRpcServer._GetOpener().