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

Class QueryErrorHandler
source code

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

Error handler for search requests.

'404' is the response we're expecting if no items were found.

Instance Methods [hide private]
  http_error_404(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_404(self, req, fp, code, msg, headers)

source code