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

1 2 3 4 5

  /test/vti/test_serving/gae/webapp/src/handlers/
errors.py 17 import httplib
29 self.code = code or httplib.INTERNAL_SERVER_ERROR
30 self.msg = msg or httplib.responses[self.code]
41 self.code = code or httplib.BAD_REQUEST
42 self.msg = msg or httplib.responses[self.code]
55 self.msg = httplib.responses[code]
66 super(NotFoundError, self).__init__(httplib.NOT_FOUND)
73 super(UnauthorizedError, self).__init__(httplib.UNAUTHORIZED)
80 super(ForbiddenError, self).__init__(httplib.FORBIDDEN)
base.py 17 import httplib
51 raise errors.Error(httplib.FORBIDDEN)
86 status = httplib.INTERNAL_SERVER_ERROR
119 self.response.status_message = httplib.responses[status]
125 self.abort(httplib.NOT_IMPLEMENTED)
129 self.abort(httplib.NOT_IMPLEMENTED)
133 self.abort(httplib.NOT_IMPLEMENTED)
137 self.abort(httplib.NOT_IMPLEMENTED)
164 def render(self, resp, status=httplib.OK):
188 self.response.status_message = httplib.responses[status
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_httplib.py 1 import httplib
3 import httplib
26 raise httplib.UnimplementedFileMode()
47 This is used below to test that httplib doesn't try to read
82 conn = httplib.HTTPConnection('example.com')
106 conn = httplib.HTTPConnection('example.com')
114 conn = httplib.HTTPConnection('example.com')
122 conn = httplib.HTTPConnection('example.com')
133 conn = httplib.HTTPConnection('[2001::]:81')
141 conn = httplib.HTTPConnection('[2001:102A::]'
    [all...]
test_urllib.py 4 import httplib
44 class FakeHTTPConnection(httplib.HTTPConnection):
52 assert httplib.HTTP._connection_class == httplib.HTTPConnection
54 httplib.HTTP._connection_class = FakeHTTPConnection
57 httplib.HTTP._connection_class = httplib.HTTPConnection
249 fakehttp_wrapper = httplib.HTTP._connection_class
266 fakehttp_wrapper = httplib.HTTP._connection_class
    [all...]
test_docxmlrpc.py 2 import httplib
85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_httplib.py 1 import httplib
3 import httplib
26 raise httplib.UnimplementedFileMode()
47 This is used below to test that httplib doesn't try to read
82 conn = httplib.HTTPConnection('example.com')
106 conn = httplib.HTTPConnection('example.com')
114 conn = httplib.HTTPConnection('example.com')
122 conn = httplib.HTTPConnection('example.com')
133 conn = httplib.HTTPConnection('[2001::]:81')
141 conn = httplib.HTTPConnection('[2001:102A::]'
    [all...]
test_urllib.py 4 import httplib
44 class FakeHTTPConnection(httplib.HTTPConnection):
52 assert httplib.HTTP._connection_class == httplib.HTTPConnection
54 httplib.HTTP._connection_class = FakeHTTPConnection
57 httplib.HTTP._connection_class = httplib.HTTPConnection
249 fakehttp_wrapper = httplib.HTTP._connection_class
266 fakehttp_wrapper = httplib.HTTP._connection_class
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_httplib.py 1 import httplib
3 import httplib
26 raise httplib.UnimplementedFileMode()
47 This is used below to test that httplib doesn't try to read
82 conn = httplib.HTTPConnection('example.com')
106 conn = httplib.HTTPConnection('example.com')
114 conn = httplib.HTTPConnection('example.com')
122 conn = httplib.HTTPConnection('example.com')
133 conn = httplib.HTTPConnection('[2001::]:81')
141 conn = httplib.HTTPConnection('[2001:102A::]'
    [all...]
test_urllib.py 4 import httplib
44 class FakeHTTPConnection(httplib.HTTPConnection):
52 assert httplib.HTTP._connection_class == httplib.HTTPConnection
54 httplib.HTTP._connection_class = FakeHTTPConnection
57 httplib.HTTP._connection_class = httplib.HTTPConnection
249 fakehttp_wrapper = httplib.HTTP._connection_class
266 fakehttp_wrapper = httplib.HTTP._connection_class
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_httplib.py 1 import httplib
3 import httplib
26 raise httplib.UnimplementedFileMode()
47 This is used below to test that httplib doesn't try to read
82 conn = httplib.HTTPConnection('example.com')
106 conn = httplib.HTTPConnection('example.com')
114 conn = httplib.HTTPConnection('example.com')
122 conn = httplib.HTTPConnection('example.com')
133 conn = httplib.HTTPConnection('[2001::]:81')
141 conn = httplib.HTTPConnection('[2001:102A::]'
    [all...]
test_urllib.py 4 import httplib
44 class FakeHTTPConnection(httplib.HTTPConnection):
52 assert httplib.HTTP._connection_class == httplib.HTTPConnection
54 httplib.HTTP._connection_class = FakeHTTPConnection
57 httplib.HTTP._connection_class = httplib.HTTPConnection
249 fakehttp_wrapper = httplib.HTTP._connection_class
266 fakehttp_wrapper = httplib.HTTP._connection_class
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_httplib.py 1 import httplib
3 import httplib
26 raise httplib.UnimplementedFileMode()
47 This is used below to test that httplib doesn't try to read
82 conn = httplib.HTTPConnection('example.com')
94 conn = httplib.HTTPConnection('example.com')
105 conn = httplib.HTTPConnection('[2001::]:81')
113 conn = httplib.HTTPConnection('[2001:102A::]')
126 resp = httplib.HTTPResponse(sock)
133 resp = httplib.HTTPResponse(sock)
    [all...]
test_docxmlrpc.py 2 import httplib
85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
  /external/python/cpython2/Lib/test/
test_httplib.py 1 import httplib
39 raise httplib.UnimplementedFileMode()
69 This is used below to test that httplib doesn't try to read
104 conn = httplib.HTTPConnection('example.com')
132 conn = httplib.HTTPConnection('example.com')
148 conn = httplib.HTTPConnection('example.com')
161 conn = httplib.HTTPConnection('example.com')
172 conn = httplib.HTTPConnection('example.com')
182 conn = httplib.HTTPConnection('example.com')
220 conn = httplib.HTTPConnection('[2001::]:81'
    [all...]
test_docxmlrpc.py 2 import httplib
67 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
  /external/autotest/server/cros/
goofy_client.py 6 import httplib
153 @retry.retry((httplib.BadStatusLine, socket.error),
171 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
219 # preceding httplib error is from the rpc we just executed leading to
232 except httplib.BadStatusLine:
236 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
280 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
296 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
394 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
  /external/skia/experimental/tools/
gerrit-change-id-to-number 6 import httplib
22 conn = httplib.HTTPSConnection('skia-review.googlesource.com')
  /external/skqp/experimental/tools/
gerrit-change-id-to-number 6 import httplib
22 conn = httplib.HTTPSConnection('skia-review.googlesource.com')
  /external/owasp/sanitizer/tools/
googlecode_upload.py 51 import httplib
98 server = httplib.HTTPSConnection(upload_host)
117 Returns: (content_type, body) ready for httplib.HTTP instance
198 if status in [httplib.FORBIDDEN, httplib.UNAUTHORIZED]:
  /external/autotest/server/cros/faft/
rpc_proxy.py 5 import httplib
75 httplib.BadStatusLine,
  /external/chromium-trace/catapult/devil/devil/android/
ports.py 9 import httplib
160 with contextlib.closing(httplib.HTTPConnection(
172 except (httplib.HTTPException, socket.error) as e:
  /external/libmojo/third_party/catapult/devil/devil/android/
ports.py 9 import httplib
160 with contextlib.closing(httplib.HTTPConnection(
172 except (httplib.HTTPException, socket.error) as e:
  /bionic/tools/bionicbb/
tasks.py 16 import httplib
84 except httplib.BadStatusLine:
  /external/v8/tools/release/
check_clusterfuzz.py 18 import httplib
171 conn = httplib.HTTPSConnection(HOSTNAME)
  /frameworks/base/libs/hwui/tests/scripts/
process_systrace.py 3 import codecs, httplib, json, os, urllib, shutil, subprocess, sys, argparse

Completed in 587 milliseconds

1 2 3 4 5