Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
upload.HttpRpcServer Class Reference

       elif e.code >= 500 and e.code < 600:

Server Error - try again.

More...

+ Inheritance diagram for upload.HttpRpcServer:
+ Collaboration diagram for upload.HttpRpcServer:

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
 
def _GetOpener
 
def _Authenticate
 
def _GetOpener
 

Additional Inherited Members

- Public Member Functions inherited from upload.AbstractRpcServer
def __init__
 
def Send
 
def __init__
 
def Send
 

Detailed Description

       elif e.code >= 500 and e.code < 600:

Server Error - try again.

continue

Provides a simplified RPC-style interface for HTTP requests.

Definition at line 344 of file upload.py.

View newest version in sPHENIX GitHub at line 344 of file upload.py

Member Function Documentation

def upload.HttpRpcServer._Authenticate (   self)
private
Save the cookie jar after authentication.

Definition at line 347 of file upload.py.

View newest version in sPHENIX GitHub at line 347 of file upload.py

References upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().

Referenced by upload.HttpRpcServer._Authenticate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def upload.HttpRpcServer._Authenticate (   self)
private
Save the cookie jar after authentication.

Definition at line 347 of file upload.py.

View newest version in sPHENIX GitHub at line 347 of file upload.py

References upload.HttpRpcServer._Authenticate(), upload.HttpRpcServer.cookie_file, upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().

+ Here is the call graph for this function:

def upload.HttpRpcServer._GetOpener (   self)
private
Returns an OpenerDirector that supports cookies and ignores redirects.

Returns:
  A urllib2.OpenerDirector object.

Definition at line 354 of file upload.py.

View newest version in sPHENIX GitHub 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(), test_detectors.lower, upload.RunShell(), upload.RunShellWithReturnCode(), upload.AbstractRpcServer.save_cookies, and upload.StatusUpdate().

+ Here is the call graph for this function:

def upload.HttpRpcServer._GetOpener (   self)
private
Returns an OpenerDirector that supports cookies and ignores redirects.

Returns:
  A urllib2.OpenerDirector object.

Definition at line 354 of file upload.py.

View newest version in sPHENIX GitHub at line 354 of file upload.py

References upload.AbstractRpcServer.save_cookies.

Referenced by upload.HttpRpcServer._GetOpener().

+ Here is the caller graph for this function:

Member Data Documentation

upload.HttpRpcServer.authenticated

Definition at line 373 of file upload.py.

View newest version in sPHENIX GitHub at line 373 of file upload.py

upload.HttpRpcServer.cookie_file

Definition at line 368 of file upload.py.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 369 of file upload.py

Referenced by upload.HttpRpcServer._GetOpener().


The documentation for this class was generated from the following files: