summaryrefslogtreecommitdiff
path: root/websocket/tests/test_http.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing `http_proxy_timeout` to `run_forever`. (#842)Adam Wojtczak2022-08-241-6/+6
| | | | | | | | | | * Allow passing `http_proxy_timeout` to `run_forever` * Normalize docstring * fix flake8 lint Co-authored-by: Adam Wojtczak <adam.wojtczak@cybercare.cc> Co-authored-by: engn33r <engn33r@users.noreply.github.com>
* Linting improvements, improved flake8 linting CI cmdengn33r2022-02-251-9/+9
|
* Update copyright year to 2022engn33r2021-12-311-1/+1
|
* Fix testConnect test case with tuple of errorsengn33r2021-11-261-4/+4
|
* Fix SSL test errors from ssl.PROTOCOL_TLS_CLIENT changeengn33r2021-11-221-1/+0
|
* Fix #760 Replace deprecated ssl.PROTOCOL_TLS with ssl.PROTOCOL_TLS_CLIENTengn33r2021-11-221-1/+1
|
* Py2->3: simplify class definition (#750)谭九鼎2021-10-201-1/+1
| | | Remove implied and redundant object class type declarations
* Improve usage of LOCAL_WS_SERVER_PORTengn33r2021-08-141-1/+1
|
* Improve unit tests with LOCAL_WS_SERVER_PORT variableengn33r2021-08-131-7/+7
|
* Fix python-socks dependency and replace echo.websocket.org in testsengn33r2021-08-111-8/+17
| | | | | | | | The recent addition of python-socks required it to be a dependency. This was mentioned in #728. Additional changes were made to prevent python-socks from becoming a required dependency for every install, so now it is only required for SOCKS proxy usage. Additionally, because echo.websockets.org was experiencing downtime issues during this fix, echo.websockets.org was replaced in unit tests with a local echo server from the Python websockets library. This should speed up tests, avoid test errors cause by external website downtime, and reduce traffic to echo.websocket.org caused by this project.
* Transition from LGPL 2.1 license to Apache 2.0 - fix #697engn33r2021-08-101-13/+11
|
* Revert #417 and reimplement proxy support with python-socksengn33r2021-08-101-17/+25
| | | | | | | | | | | | Due to the ongoing license change process in #697, PR #417 from @jhtitor needed to be removed. PR #417 added SOCKS proxy support using PySocks, which is the most popular Python SOCKS proxy and is used by libraries such as 'requests' and 'urllib3'. However, as of mid-2021, PySocks has not seen any activity since Sep 2019 and has several open issues. Because PySocks does not appear to be maintained and has no forks that are actively trying to replace the old repository, python-socks may be a better choice going forward. Although python-socks is a newer project, it has good code coverage and recent commits from earlier this year (2021).
* Replace deprecated ssl.PROTOCOL_SSLv23 with ssl.PROTOCOL_TLSengn33r2021-06-031-1/+1
|
* Add code coverage for PR #698engn33r2021-05-311-0/+1
|
* Fix CI errorsengn33r2021-05-301-1/+1
|
* Add working HTTP proxy unit testsengn33r2021-05-301-0/+11
|
* Fix proxy exceptions in unit testsengn33r2021-05-301-3/+3
|
* Remove testSSLopt unit test timeout to avoid exceptionengn33r2021-05-171-1/+1
|
* Try to resolve test_http.py testSSLopt Mac errorengn33r2021-05-171-2/+2
|
* Improve _app.py, _http.py unit testsengn33r2021-05-171-4/+8
|
* Fix unit test for raising error in close()engn33r2021-05-171-1/+1
|
* Comment out unittest that fails on MacOSengn33r2021-05-121-1/+2
|
* Improve test coverage of _http.pyengn33r2021-05-061-2/+38
|
* Fix lint errorengn33r2021-05-051-0/+1
|
* Fix #685 unittest requires internetengn33r2021-05-051-1/+4
|
* First pass removing Python 2 code, mostly six dependencyengn33r2021-05-041-5/+1
|
* PEP8 style compliance fixesengn33r2021-05-041-8/+5
|
* Fix test_http.py import errorengn33r2021-03-281-1/+5
|
* Improve _http.py code coverageengn33r2021-03-281-0/+108