Package entropy :: Module misc :: Class MultipartPostHandler

Class MultipartPostHandler

source code


Custom urllib2 opener used in the Entropy codebase.

Instance Methods
 
__init__(self)
MultipartPostHandler constructor.
source code
 
http_request(self, request)
Entropy codebase internal method.
source code
 
https_request(self, request)
Entropy codebase internal method.
source code

Inherited from urllib2.BaseHandler: __lt__, add_parent, close

Class Variables
  handler_order = 490
  multipart_encode = <entropy.misc.Callable instance at 0x7ff101...
Method Details

http_request(self, request)

source code 

Entropy codebase internal method. Not for re-use.

Parameters:
  • request - urllib2 HTTP request object

https_request(self, request)

source code 

Entropy codebase internal method. Not for re-use.

Parameters:
  • request - urllib2 HTTP request object

Class Variable Details

multipart_encode

Value:
<entropy.misc.Callable instance at 0x7ff101634248>