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

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/
_base.py 54 class HandshakeException(Exception):
60 super(HandshakeException, self).__init__(name)
94 raise HandshakeException('Invalid subprotocol name: empty')
104 raise HandshakeException('Invalid non-token string in subprotocol '
115 raise HandshakeException('Invalid port number format: %r' % e)
125 raise HandshakeException('Header %s is not defined' % key)
133 raise HandshakeException(
142 raise HandshakeException('Method is not GET: %r' % request.method)
145 raise HandshakeException('Version is not HTTP/1.1: %r' %
171 raise HandshakeException(
    [all...]
hybi00.py 53 from mod_pywebsocket.handshake._base import HandshakeException
78 raise HandshakeException('Invalid subprotocol name: empty')
83 raise HandshakeException(
109 raise HandshakeException('Header/connection port mismatch: %d/%d' %
149 HandshakeException: when any error happened in parsing the opening
195 raise HandshakeException('Illegal value for %s: %s' %
230 raise HandshakeException('%s field contains no digit' % key_field)
235 raise HandshakeException('%s field contains no space' % key_field)
244 raise HandshakeException(
hybi.py 56 from mod_pywebsocket.handshake._base import HandshakeException
118 except HandshakeException, e:
119 raise HandshakeException(
128 raise HandshakeException(
267 raise HandshakeException(
277 raise HandshakeException(
282 except HandshakeException, e:
307 raise HandshakeException(
346 raise HandshakeException(
356 raise HandshakeException('Request has multiple %s header lines or
    [all...]
__init__.py 42 # Export AbortedByUserException, HandshakeException, and VersionException
45 from mod_pywebsocket.handshake._base import HandshakeException
93 except HandshakeException, e:
105 raise HandshakeException(
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
_base.py 54 class HandshakeException(Exception):
60 super(HandshakeException, self).__init__(name)
98 raise HandshakeException('Invalid subprotocol name: empty')
103 raise HandshakeException(
114 raise HandshakeException('Invalid non-token string in subprotocol '
125 raise HandshakeException('Invalid port number format: %r' % e)
143 raise HandshakeException('Header/connection port mismatch: %d/%d' %
156 raise HandshakeException('Header %s is not defined' % key)
164 raise HandshakeException(
173 raise HandshakeException('Method is not GET'
    [all...]
hybi.py 55 from mod_pywebsocket.handshake._base import HandshakeException
117 except HandshakeException, e:
118 raise HandshakeException(
127 raise HandshakeException(
242 raise HandshakeException(
252 raise HandshakeException(
257 except HandshakeException, e:
282 raise HandshakeException(
321 raise HandshakeException(
331 raise HandshakeException('Request has multiple %s header lines or
    [all...]
draft75.py 46 from mod_pywebsocket.handshake._base import HandshakeException
160 raise HandshakeException('Header %s is not defined' % key)
163 raise HandshakeException(
177 raise HandshakeException('Too few header lines: %d' % len(lines))
180 raise HandshakeException(
185 raise HandshakeException(
hybi00.py 53 from mod_pywebsocket.handshake._base import HandshakeException
98 HandshakeException: when any error happened in parsing the opening
144 raise HandshakeException('Illegal value for %s: %s' %
179 raise HandshakeException('%s field contains no digit' % key_field)
184 raise HandshakeException('%s field contains no space' % key_field)
193 raise HandshakeException(
__init__.py 43 # Export AbortedByUserException, HandshakeException, and VersionException
46 from mod_pywebsocket.handshake._base import HandshakeException
99 except HandshakeException, e:
111 raise HandshakeException(
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_handshake.py 44 from mod_pywebsocket.handshake._base import HandshakeException
62 self.assertRaises(HandshakeException,
66 self.assertRaises(HandshakeException,
70 self.assertRaises(HandshakeException,
74 self.assertRaises(HandshakeException,
79 self.assertRaises(HandshakeException,
83 self.assertRaises(HandshakeException,
87 self.assertRaises(HandshakeException,
91 self.assertRaises(HandshakeException,
95 self.assertRaises(HandshakeException,
    [all...]
test_handshake_hybi08.py 41 from mod_pywebsocket.handshake._base import HandshakeException
222 # No request has been made but ws_protocol is set. HandshakeException
224 self.assertRaises(HandshakeException, handshaker.do_handshake)
232 # ws_protocol is not set. HandshakeException must be raised.
233 self.assertRaises(HandshakeException, handshaker.do_handshake)
264 self.assertRaises(HandshakeException, handshaker.do_handshake)
363 except HandshakeException, e:
test_handshake_draft75.py 464 handshake.HandshakeException, handshaker.do_handshake)
479 self.assertRaises(handshake.HandshakeException,
test_handshake_hybi.py 41 from mod_pywebsocket.handshake._base import HandshakeException
222 # No request has been made but ws_protocol is set. HandshakeException
224 self.assertRaises(HandshakeException, handshaker.do_handshake)
232 # ws_protocol is not set. HandshakeException must be raised.
233 self.assertRaises(HandshakeException, handshaker.do_handshake)
424 except HandshakeException, e:
test_handshake_hybi00.py 40 from mod_pywebsocket.handshake._base import HandshakeException
431 self.assertRaises(HandshakeException, handshaker.do_handshake)
test_dispatch.py 157 self.fail('Could not catch HandshakeException with 403 status')
158 except handshake.HandshakeException, e:
client_for_testing.py 400 raise HandshakeException(
404 raise HandshakeException(
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
headerparserhandler.py 216 except handshake.HandshakeException, e:
dispatch.py 248 HandshakeException: when opening handshake failed
265 raise handshake.HandshakeException(e, common.HTTP_STATUS_FORBIDDEN)
standalone.py 589 except handshake.HandshakeException, e:
    [all...]
mux.py     [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
headerparserhandler.py 225 except handshake.HandshakeException, e:
dispatch.py 248 HandshakeException: when opening handshake failed
268 raise handshake.HandshakeException(e, common.HTTP_STATUS_FORBIDDEN)
standalone.py 752 except handshake.HandshakeException, e:
    [all...]
mux.py     [all...]
  /external/chromium-trace/trace-viewer/examples/stream_server/
standalone.py 593 except handshake.HandshakeException, e:
    [all...]

Completed in 401 milliseconds