Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PEP8 style compliance fixes | engn33r | 2021-05-04 | 1 | -3/+4 |
| | |||||
* | Add support for permitting additional values in the "upgrade" and ↵ | Chris Wheeler | 2021-03-29 | 1 | -2/+2 |
| | | | | "connection" headers (#627) | ||||
* | Fix #526 by reverting invalid BSD license migration in commit e94ed9e to ↵ | engn33r | 2021-02-22 | 1 | -2/+1 |
| | | | | return to LGPL2.1 | ||||
* | Add first draft of Sphinx documentation | engn33r | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | Remove e71edd3 commit edits to fix TravisCI build (#657) | engn33r | 2021-01-27 | 1 | -4/+3 |
| | |||||
* | Merge pull request #4 from sawdustofmind/FIX-604 | engn33r | 2021-01-25 | 1 | -1/+1 |
|\ | | | | | Capitalize default connection header | ||||
| * | Capitalize default connection header | sawdustofmind | 2020-02-19 | 1 | -1/+1 |
| | | |||||
* | | Fix _handshake.py error where subproto is None | Erik | 2021-01-08 | 1 | -3/+4 |
| | | |||||
* | | Fix None.lower() when sec-websocket-protocol response header does not exist | anuragbeniwal | 2020-05-08 | 1 | -2/+3 |
|/ | | | | Fix for https://github.com/websocket-client/websocket-client/issues/516 | ||||
* | Merge pull request #533 from sfoerster/master | liris | 2019-12-25 | 1 | -3/+3 |
|\ | | | | | _handshake: hasattr checks on six before accessing the values | ||||
| * | _handshake: hasattr checks on six before accessing the values | Steven Foerster | 2019-03-14 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'master' into master | liris | 2019-12-25 | 1 | -5/+9 |
|\ \ | |||||
| * \ | Merge pull request #553 from spacewander/improve_readability | liris | 2019-12-25 | 1 | -2/+3 |
| |\ \ | | | | | | | | | Improve the readability of HTTP status codes. | ||||
| | * | | Improve the readability of HTTP status codes. | spacewander | 2019-05-10 | 1 | -2/+3 |
| | |/ | | | | | | | | | | | | | This commit also changes the type of 'SUPPORTED_REDIRECT_STATUSES' to 'tuple'. It seems that this change doesn't break anything. | ||||
| * | | updated if statement to include check against None | Damjan Stulic | 2019-08-07 | 1 | -1/+1 |
| | | | |||||
| * | | removed extra white space | Damjan Stulic | 2019-08-07 | 1 | -1/+0 |
| | | | |||||
| * | | added support for allowing users to change connection header | Damjan Stulic | 2019-08-07 | 1 | -3/+7 |
| |/ | |||||
* | | Pep8 fixes | azaugg | 2019-04-24 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #506 from Torxed/master | liris | 2018-12-15 | 1 | -2/+10 |
|\ | |||||
| * | Manually assigning WebSocket-Version | Anton Hvornum | 2018-11-25 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | When manually assigning `Sec-WebSocket-Key` & `Sec-WebSocket-Version`, websocket-client would raise: WebSocketException("Invalid WebSocket Header") Because the key for instance, would be inserted twice. The best way to get around this in the long run, would be to refrain from using lists as the header builder, since keys can't occur twice anyway. Thus, just creating the automated headers first, and then iterating over whatever the user inputs - would effectively replace any default headers automatically, without needing to parse "if host in options['headers']" etc. Just iterate over the headers given, replace the default ones and bam, profit. | ||||
* | | Add response header in WebSocketBadStatusException | tarma | 2018-11-05 | 1 | -1/+1 |
|/ | |||||
* | Handle PY3.4/3.5 | Pär Tojkander | 2018-10-11 | 1 | -1/+4 |
| | |||||
* | Handle PY2/3 | Pär Tojkander | 2018-10-11 | 1 | -1/+5 |
| | |||||
* | Handle redirects in handshake | Pär Tojkander | 2018-10-11 | 1 | -3/+8 |
| | |||||
* | fixed #432v0.49.0 | liris | 2018-08-14 | 1 | -1/+5 |
| | |||||
* | fixed #HC-459 | liris | 2018-08-14 | 1 | -4/+5 |
| | |||||
* | Added status message when HTTP can't be upgraded to WS | Dmitry Mottl | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | refs #357 | Hiroki Ohtani | 2017-12-10 | 1 | -2/+8 |
| | |||||
* | Update _handshake.py | Peter "Marenthyu" Fredebold | 2017-11-30 | 1 | -2/+2 |
| | | | see https://github.com/websocket-client/websocket-client/issues/368 | ||||
* | Implement simple cookie jar | tifayuki | 2016-12-21 | 1 | -1/+8 |
| | |||||
* | erge #249 | liris | 2016-05-10 | 1 | -17/+16 |
|\ | |||||
| * | wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise imports | Allan Lewis | 2016-04-27 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, because of the multiple instances of `from foo import *`, names were imported from modules that had themselves imported them, instead of from the place of definition. This commit therefore does the following: - Declares `__all__` in every module that imports anything, so that `from foo import *` is sane. - Sorts the imports based on conventions, similar to the output of `isort`. - Places all conditional imports after unconditional imports, except where that isn't valid. - Imports local names from the modules where they are defined, except when importing the package itself. | ||||
| * | wsdump, websocket.*: [PEP 8] Use conventional vertical spacing | Allan Lewis | 2016-04-27 | 1 | -0/+1 |
| | | |||||
| * | _abnf, _app, _http, _url: [PEP 8] Fix indents | Allan Lewis | 2016-04-27 | 1 | -1/+1 |
| | | |||||
| * | _core, _handshake: Remove unused imports | Allan Lewis | 2016-04-27 | 1 | -3/+0 |
| | | |||||
| * | _handshake._get_handshake_headers: Use list literal | Allan Lewis | 2016-04-27 | 1 | -4/+5 |
| | | |||||
* | | Exclude port 443 from host http header | Liam Stanley | 2016-04-27 | 1 | -1/+1 |
|/ | |||||
* | fixed #215v0.34.0 | liris | 2015-10-28 | 1 | -5/+8 |
| | |||||
* | python 2.6 support | liris | 2015-10-27 | 1 | -1/+6 |
| | |||||
* | Merge pull request #211 from obi1kenobi/master | liris | 2015-10-27 | 1 | -3/+5 |
|\ | | | | | Security improvements during handshake | ||||
| * | Using os.urandom() and constant-time hash check for handshake. Fixes #209 #210 | Predrag Gruevski | 2015-09-21 | 1 | -3/+5 |
| | | |||||
* | | Map dict to headers list | DenisKolodin | 2015-08-22 | 1 | -2/+5 |
|/ | |||||
* | fixed #199 | liris | 2015-07-30 | 1 | -1/+1 |
| | | | | WebSocketBadStatusException for handshake error | ||||
* | fixed #179 | liris | 2015-05-07 | 1 | -0/+1 |
| | | | | pass all tests on pypy3 2.4.0 | ||||
* | fixed #171 | liris | 2015-04-14 | 1 | -4/+8 |
| | |||||
* | fixed #160 and some refactoring | liris | 2015-03-25 | 1 | -4/+10 |
| | |||||
* | fixed #158 | liris | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | fix bug: 'WebSocketException' is not defined | Ricter Zheng | 2015-03-22 | 1 | -0/+1 |
| | | | fix NameError: global name 'WebSocketException' is not defined | ||||
* | add "__all__" | Hiroki Ohtani | 2015-03-19 | 1 | -0/+143 |