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

1 2 3 4 5

  /external/chromium_org/tools/valgrind/
unused_suppressions.py 7 import urllib2 namespace
18 sys.stdout.write(urllib2.urlopen(
  /external/chromium_org/tools/json_schema_compiler/highlighters/
hilite_me_highlighter.py 6 import urllib2 namespace
16 return urllib2.urlopen('http://hilite.me/api',
  /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/tools/tests/
chrome_mock.py 9 import urllib2 namespace
34 urllib2.urlopen(args[0], data='').read()
36 urllib2.urlopen(args[0]).read()
httpd_test.py 12 import urllib2 namespace
30 urllib2.urlopen(self.server.GetURL('?quit=1'))
  /external/chromium_org/chrome/test/chromedriver/server/
server.py 10 import urllib2 namespace
60 urllib2.urlopen(self.GetUrl() + '/status')
62 except urllib2.URLError:
71 urllib2.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
  /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...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/webdriver/
webdriver_ie_backend.py 5 import urllib2 namespace
36 except urllib2.URLError:
  /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())
networktransaction.py 31 import urllib2 namespace
54 except urllib2.HTTPError, e:
  /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/
print-stale-test-expectations-entries 39 import urllib2 namespace
53 response = urllib2.urlopen(url)
83 except urllib2.HTTPError as error:
  /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/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/build/android/pylib/host_driven/
test_server.py 23 import urllib2 namespace
109 d = urllib2.urlopen(test_url).read()
  /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/tools/perf/
run_measurement 9 import urllib2 namespace
57 bootstrap_txt = urllib2.urlopen(
  /external/chromium_org/tools/telemetry/docs/
telemetry.page.cloud_storage.html 26 </td><td width="25%" valign=top><a href="urllib2.html">urllib2</a><br>
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_register.py 6 import urllib2 namespace
78 self.old_opener = urllib2.build_opener
79 self.conn = urllib2.build_opener = FakeOpener()
83 urllib2.build_opener = self.old_opener

Completed in 188 milliseconds

1 2 3 4 5