Lines Matching refs:urllib2
12 import urllib2
30 self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(self._jar))
56 request = urllib2.Request(SERVER_URL + 'upload', datagen, headers)
57 response = urllib2.urlopen(request).read()
62 request = urllib2.Request(AUTH_URL % (SERVER_URL + 'serve'))
67 request = urllib2.Request(AUTH_URL % (SERVER_URL + 'serve/' + key))
74 request = urllib2.Request(AUTH_URL % (SERVER_URL + 'del/' + key))
76 request = urllib2.Request(AUTH_URL % (SERVER_URL + 'serve'))
91 request = urllib2.Request(SERVER_URL + 'serve')
92 response = urllib2.urlopen(request).read()
95 except urllib2.URLError: