Package ndg :: Package httpsclient :: Module utils :: Class AccumulatingHTTPCookieProcessor
[hide private]

Class AccumulatingHTTPCookieProcessor

source code


Cookie processor that adds new cookies (instead of replacing the existing ones as HTTPCookieProcessor does)

Instance Methods [hide private]
urllib2.Request
http_request(self, request)
Processes cookies for a HTTP request.
source code
urllib2.Request
https_request(self, request)
Processes cookies for a HTTP request.
source code

Inherited from urllib2.HTTPCookieProcessor: __init__, http_response, https_response

Inherited from urllib2.BaseHandler: __lt__, add_parent, close

Class Variables [hide private]

Inherited from urllib2.BaseHandler: handler_order

Method Details [hide private]

http_request(self, request)

source code 

Processes cookies for a HTTP request.

Parameters:
  • request (urllib2.Request) - request to process
Returns: urllib2.Request
request
Overrides: urllib2.HTTPCookieProcessor.http_request

https_request(self, request)

source code 

Processes cookies for a HTTP request.

Parameters:
  • request (urllib2.Request) - request to process
Returns: urllib2.Request
request
Overrides: urllib2.HTTPCookieProcessor.http_request