Module api :: Class AddErrorHandler
[hide private]
[frames] | no frames]

Class AddErrorHandler
source code

                BaseHandler --+        
                              |        
urllib2.HTTPDefaultErrorHandler --+    
                                  |    
                  ThrottlingHandler --+
                                      |
                                     AddErrorHandler

Error handler for Api.add and Api.edit requests.

'201 created' is the response we're expecting for these.

Instance Methods [hide private]
  http_error_201(self, req, fp, code, msg, headers)

Inherited from ThrottlingHandler: http_error_503

Inherited from urllib2.HTTPDefaultErrorHandler: http_error_default

Inherited from urllib2.BaseHandler: __lt__, add_parent, close


Class Variables [hide private]

Inherited from urllib2.BaseHandler: handler_order


Method Details [hide private]

http_error_201(self, req, fp, code, msg, headers)

source code