HomeSort by relevance Sort by last modified time
    Searched refs:urllib2 (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
web.py 29 import urllib2 namespace
36 return NetworkTransaction(convert_404_to_None=convert_404_to_None).run(lambda: urllib2.urlopen(url).read())
file_uploader.py 31 import urllib2 namespace
104 request = urllib2.Request(self._url, data, {"Content-Type": content_type})
105 return urllib2.urlopen(request)
networktransaction.py 31 import urllib2 namespace
54 except urllib2.HTTPError, e:
  /external/chromium_org/tools/json_schema_compiler/highlighters/
hilite_me_highlighter.py 6 import urllib2 namespace
16 return urllib2.urlopen('http://hilite.me/api',
  /external/chromium_org/tools/valgrind/
unused_suppressions.py 7 import urllib2 namespace
18 sys.stdout.write(urllib2.urlopen(
  /external/chromium_org/remoting/tools/
register_host.py 21 import urllib2 namespace
74 request = urllib2.Request(url, json.dumps(params), headers)
76 opener = urllib2.OpenerDirector()
77 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
82 res = urllib2.urlopen(request)
84 except urllib2.HTTPError, err:
  /external/chromium_org/chrome/test/chromedriver/server/
server.py 10 import urllib2 namespace
57 urllib2.urlopen(self.GetUrl() + '/status')
59 except urllib2.URLError:
68 urllib2.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
  /external/chromium_org/chrome/test/webdriver/test/
chromedriver_server.py 15 import urllib2 namespace
43 urllib2.urlopen(self.GetUrl() + '/status')
45 except urllib2.URLError:
60 urllib2.urlopen(self.GetUrl() + '/shutdown').close()
61 except urllib2.URLError:
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/
__init__.py 19 import urllib2 namespace
202 class FancyRequest(urllib2.Request):
206 urllib2.Request.__init__(self, *args, **kwargs)
218 urllib2.Request.set_proxy(self, host, type)
231 class FancyProxyHandler(urllib2.ProxyHandler):
234 # Taken verbatim from /usr/lib/python2.5/urllib2.py
308 # This block is copied wholesale from Python2.6 urllib2.
316 user_pass = "%s:%s" % (urllib2.unquote(user), urllib2.unquote(password))
320 hostport = urllib2.unquote(hostport
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 8 import urllib2 namespace
32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError)
36 """Tests urllib2 authentication features."""
53 # except urllib2.HTTPError, exc:
59 # auth_handler = urllib2.HTTPBasicAuthHandler()
62 # opener = urllib2.build_opener(auth_handler)
71 # urllib2.urlopen, "http://evil:thing@example.com")
79 # calling .close() on urllib2's response objects should close the
123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError)
    [all...]
test_urllib2.py 8 import urllib2 namespace
9 from urllib2 import Request, OpenerDirector
20 self.assertRaises(ValueError, urllib2.urlopen, 'bogus url')
23 fname = os.path.abspath(urllib2.__file__).replace('\\', '/')
37 f = urllib2.urlopen(file_url)
48 self.assertEqual(urllib2.parse_http_list(string), list)
60 code that previously saw all (urllib2 user)-provided headers in .headers
85 normalization to .title()-case is done by urllib2 before sending headers to
116 >>> mgr = urllib2.HTTPPasswordMgr()
181 >>> mgr = urllib2.HTTPPasswordMgr(
    [all...]
test_urllib2_localnet.py 4 import urllib2 namespace
177 # urllib2 uses the full path, so we're going to see if
252 handler = urllib2.ProxyHandler({"http" : proxy_url})
253 self.proxy_digest_handler = urllib2.ProxyDigestAuthHandler()
254 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler)
264 self.assertRaises(urllib2.HTTPError,
270 self.assertRaises(urllib2.HTTPError,
289 except urllib2.URLError:
343 """Tests urllib2.urlopen using the network.
352 proxy_handler = urllib2.ProxyHandler({}
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 8 import urllib2 namespace
32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError)
36 """Tests urllib2 authentication features."""
53 # except urllib2.HTTPError, exc:
59 # auth_handler = urllib2.HTTPBasicAuthHandler()
62 # opener = urllib2.build_opener(auth_handler)
71 # urllib2.urlopen, "http://evil:thing@example.com")
79 # calling .close() on urllib2's response objects should close the
123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError)
    [all...]
test_urllib2.py 8 import urllib2 namespace
9 from urllib2 import Request, OpenerDirector
20 self.assertRaises(ValueError, urllib2.urlopen, 'bogus url')
23 fname = os.path.abspath(urllib2.__file__).replace('\\', '/')
37 f = urllib2.urlopen(file_url)
48 self.assertEqual(urllib2.parse_http_list(string), list)
60 code that previously saw all (urllib2 user)-provided headers in .headers
85 normalization to .title()-case is done by urllib2 before sending headers to
116 >>> mgr = urllib2.HTTPPasswordMgr()
181 >>> mgr = urllib2.HTTPPasswordMgr(
    [all...]
test_urllib2_localnet.py 4 import urllib2 namespace
177 # urllib2 uses the full path, so we're going to see if
252 handler = urllib2.ProxyHandler({"http" : proxy_url})
253 self.proxy_digest_handler = urllib2.ProxyDigestAuthHandler()
254 self.opener = urllib2.build_opener(handler, self.proxy_digest_handler)
264 self.assertRaises(urllib2.HTTPError,
270 self.assertRaises(urllib2.HTTPError,
289 except urllib2.URLError:
343 """Tests urllib2.urlopen using the network.
352 proxy_handler = urllib2.ProxyHandler({}
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
download.py 11 import urllib2 namespace
21 url_opener = urllib2.build_opener(
  /external/chromium_org/native_client_sdk/src/tools/tests/
chrome_mock.py 9 import urllib2 namespace
34 urllib2.urlopen(args[0], data='').read()
36 urllib2.urlopen(args[0]).read()
  /external/chromium_org/media/tools/layout_tests/
test_expectations.py 7 import urllib2 namespace
63 resp = urllib2.urlopen(url)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
register.py 10 import urllib2 namespace
89 response = urllib2.urlopen(self.repository+'?:action=list_classifiers')
163 auth = urllib2.HTTPPasswordMgr()
258 # Build up the MIME payload for the urllib2 POST data
292 req = urllib2.Request(self.repository, body, headers)
295 opener = urllib2.build_opener(
296 urllib2.HTTPBasicAuthHandler(password_mgr=auth)
301 except urllib2.HTTPError, e:
305 except urllib2.URLError, e:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
register.py 10 import urllib2 namespace
89 response = urllib2.urlopen(self.repository+'?:action=list_classifiers')
163 auth = urllib2.HTTPPasswordMgr()
258 # Build up the MIME payload for the urllib2 POST data
292 req = urllib2.Request(self.repository, body, headers)
295 opener = urllib2.build_opener(
296 urllib2.HTTPBasicAuthHandler(password_mgr=auth)
301 except urllib2.HTTPError, e:
305 except urllib2.URLError, e:
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/
buildbot.py 33 import urllib2 namespace
73 result = urllib2.urlopen("%s/%s" % (results_url, file_name))
141 except urllib2.HTTPError, error:
291 return json.load(urllib2.urlopen(json_url))
292 except urllib2.URLError, err:
303 return urllib2.urlopen(build_status_url)
330 return self._parse_twisted_directory_listing(urllib2.urlopen(url))
360 builder_page_url = "%s/builders/%s?numbuilds=100" % (self.buildbot_url, urllib2.quote(builder.name()))
361 return urllib2.urlopen(builder_page_url)
  /external/chromium_org/tools/
update_reference_build.py 27 import urllib2 namespace
94 r = urllib2.Request(self._GetBuildUrl(platform, revision_guess, filename))
97 response = urllib2.urlopen(r)
99 except urllib2.HTTPError, err:
123 r = urllib2.urlopen(url)
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/
buildershandler.py 34 import urllib2 namespace
58 return master_json_url(master_url) + '/' + urllib2.quote(builder)
69 resp = urllib2.urlopen(url)
  /external/chromium_org/native_client_sdk/src/build_tools/
update_sdktools.py 25 import urllib2 namespace
86 sha1, size = DownloadAndComputeHash(urllib2.urlopen(url))
  /external/chromium_org/webkit/tools/layout_tests/
canary-webkit-revisions.py 20 import urllib2 namespace
53 return urllib2.urlopen(url)
54 except urllib2.URLError, url_error:
56 # Surprisingly, urllib2.URLError has different attributes based on the
98 urllib2.quote(builder))

Completed in 721 milliseconds

1 2 3 4