Lines Matching refs:urllib2
46 import urllib2
115 class ClientLoginError(urllib2.HTTPError):
119 urllib2.HTTPError.__init__(self, url, code, msg, headers, None)
158 A urllib2.OpenerDirector object.
165 req = urllib2.Request(url, data=data)
206 except urllib2.HTTPError, e:
231 except urllib2.HTTPError, e:
235 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg,
330 except urllib2.HTTPError, e:
358 A urllib2.OpenerDirector object.
360 opener = urllib2.OpenerDirector()
361 opener.add_handler(urllib2.ProxyHandler())
362 opener.add_handler(urllib2.UnknownHandler())
363 opener.add_handler(urllib2.HTTPHandler())
364 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
365 opener.add_handler(urllib2.HTTPSHandler())
366 opener.add_handler(urllib2.HTTPErrorProcessor())
388 opener.add_handler(urllib2.HTTPCookieProcessor(self.cookie_jar))