Monero
Loading...
Searching...
No Matches
Public Attributes | Protected Member Functions | List of all members
upload.HttpRpcServer Class Reference

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

Inheritance diagram for upload.HttpRpcServer:
Inheritance graph
[legend]
Collaboration diagram for upload.HttpRpcServer:
Collaboration graph
[legend]

Public Attributes

 cookie_file
 
 cookie_jar
 
 authenticated
 
- Public Attributes inherited from upload.AbstractRpcServer
 host
 
 host_override
 
 auth_function
 
 authenticated
 
 extra_headers
 
 save_cookies
 
 opener
 

Protected Member Functions

 _Authenticate (self)
 
 _GetOpener (self)
 
 _Authenticate (self)
 
 _GetOpener (self)
 
- Protected Member Functions inherited from upload.AbstractRpcServer
 _CreateRequest (self, url, data=None)
 
 _GetAuthToken (self, email, password)
 
 _GetAuthCookie (self, auth_token)
 
 _CreateRequest (self, url, data=None)
 
 _GetAuthToken (self, email, password)
 
 _GetAuthCookie (self, auth_token)
 

Additional Inherited Members

- Public Member Functions inherited from upload.AbstractRpcServer
 __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)
 
 __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)
 

Detailed Description

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

Server Error - try again.

continue

Provides a simplified RPC-style interface for HTTP requests.

Server Error - try again.

continue

Provides a simplified RPC-style interface for HTTP requests.

Member Function Documentation

◆ _Authenticate() [1/2]

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

Reimplemented from upload.AbstractRpcServer.

◆ _Authenticate() [2/2]

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

Reimplemented from upload.AbstractRpcServer.

◆ _GetOpener() [1/2]

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

Returns:
  A urllib2.OpenerDirector object.

Reimplemented from upload.AbstractRpcServer.

◆ _GetOpener() [2/2]

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

Returns:
  A urllib2.OpenerDirector object.

Reimplemented from upload.AbstractRpcServer.

Member Data Documentation

◆ authenticated

upload.HttpRpcServer.authenticated

◆ cookie_file

upload.HttpRpcServer.cookie_file

◆ cookie_jar

upload.HttpRpcServer.cookie_jar

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