Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8aa519e095 | ||
|
|
d3a5839678 | ||
|
|
7e9f3c7343 | ||
|
|
4f04e6ca62 | ||
|
|
fd88b9e096 |
3 changed files with 65 additions and 7 deletions
18
LICENSE
18
LICENSE
|
|
@ -1,7 +1,19 @@
|
|||
Copyright (c) 2013 Roy Hyunjin Han and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
|
|
|||
51
TODO.goals
51
TODO.goals
|
|
@ -1,3 +1,48 @@
|
|||
Implement rooms #65
|
||||
Implement binary event
|
||||
Implement binary ack
|
||||
= Consider supporting both protocols in the same library
|
||||
https://github.com/invisibleroads/socketIO-client/issues/95
|
||||
Add binary support
|
||||
https://github.com/invisibleroads/socketIO-client/pull/85
|
||||
https://github.com/invisibleroads/socketIO-client/issues/70
|
||||
https://github.com/invisibleroads/socketIO-client/issues/71
|
||||
https://github.com/invisibleroads/socketIO-client/issues/91
|
||||
Check requests dependency
|
||||
https://github.com/invisibleroads/socketIO-client/issues/92
|
||||
https://github.com/invisibleroads/socketIO-client/pull/93
|
||||
https://github.com/invisibleroads/socketIO-client/commit/b288d89c15d452a30bfeb00f38494f59f71f5a43
|
||||
Check SSL
|
||||
https://github.com/invisibleroads/socketIO-client/issues/86
|
||||
https://github.com/invisibleroads/socketIO-client/pull/87
|
||||
Look into invalid namespace handling
|
||||
https://github.com/invisibleroads/socketIO-client/issues/84
|
||||
Check unicode issues
|
||||
https://github.com/invisibleroads/socketIO-client/issues/81
|
||||
Check python3 support for socketIO-client 0.5.6
|
||||
https://github.com/invisibleroads/socketIO-client/issues/83
|
||||
Check OK assertion
|
||||
https://github.com/invisibleroads/socketIO-client/issues/99
|
||||
https://github.com/invisibleroads/socketIO-client/pull/103
|
||||
Check why connected=True after termination
|
||||
https://github.com/invisibleroads/socketIO-client/issues/80
|
||||
https://github.com/invisibleroads/socketIO-client/issues/98
|
||||
Consider catching heartbeat thread exception
|
||||
https://github.com/invisibleroads/socketIO-client/issues/100
|
||||
Check why it blocks when defining a namespace
|
||||
https://github.com/invisibleroads/socketIO-client/issues/96
|
||||
Check why transports are not being set
|
||||
https://github.com/invisibleroads/socketIO-client/issues/102
|
||||
Look at 404 not found error
|
||||
https://github.com/invisibleroads/socketIO-client/issues/101
|
||||
Look at socketio off and socketio once
|
||||
https://github.com/invisibleroads/socketIO-client/pull/94
|
||||
Implement rooms
|
||||
https://github.com/invisibleroads/socketIO-client/issues/72
|
||||
https://github.com/invisibleroads/socketIO-client/pull/65
|
||||
Check tests
|
||||
https://github.com/invisibleroads/socketIO-client/issues/90
|
||||
Check whether it works on Windows 8
|
||||
https://github.com/invisibleroads/socketIO-client/issues/97
|
||||
Add debian packaging support
|
||||
https://github.com/invisibleroads/socketIO-client/pull/89
|
||||
|
||||
+ Review issues and pull requests
|
||||
+ Order issues
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import sys
|
|||
import threading
|
||||
import time
|
||||
import websocket
|
||||
from six import string_types
|
||||
|
||||
from .exceptions import ConnectionError, TimeoutError
|
||||
from .parsers import (
|
||||
|
|
@ -129,7 +130,7 @@ class WebsocketTransport(AbstractTransport):
|
|||
proxy_url_pack.username, proxy_url_pack.password)
|
||||
if http_session.verify:
|
||||
if http_session.cert: # Specify certificate path on disk
|
||||
if isinstance(http_session.cert, basestring):
|
||||
if isinstance(http_session.cert, string_types):
|
||||
kw['ca_certs'] = http_session.cert
|
||||
else:
|
||||
kw['ca_certs'] = http_session.cert[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue