summaryrefslogtreecommitdiff
path: root/websocket/_url.py
Commit message (Collapse)AuthorAgeFilesLines
* Linting improvements, improved flake8 linting CI cmdengn33r2022-02-251-9/+5
|
* Update copyright year to 2022engn33r2021-12-311-1/+1
|
* 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-1/+2
| | | | | | | | | | | | 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).
* Unquote username and password in proxy from environment (#723)Richard2021-07-161-2/+2
| | | | | This fixes e.g. credentials containing a `@` escaped as `%40`. Closes #722.
* Fix #700 improve no_proxy env variable parsingengn33r2021-06-081-2/+2
|
* Fix #701 update docstringsengn33r2021-06-021-15/+14
|
* First pass removing Python 2 code, mostly six dependencyengn33r2021-05-041-1/+1
|
* Fixing urlparse scheme in Python 2.6.1 (#332)Brandon Moser2021-05-041-1/+1
|
* Match no proxy on domain and * (#671)Codeglitches2021-03-221-6/+12
| | | | | | | | | * Extract url test methods and classes to separate test module * Fix: Restore no_proxy environment variable after tests * Fix: is_address_in_network does not pass simple unittests * Match no_proxy on * and domains
* Fix #526 by reverting invalid BSD license migration in commit e94ed9e to ↵engn33r2021-02-221-2/+1
| | | | return to LGPL2.1
* Add first draft of Sphinx documentationengn33r2021-01-311-20/+29
|
* v should be checked for emptry string before splitting itJayaprakash Nevara2019-03-291-1/+2
| | | | | | when name 'v' has empty string on splitting this empty string we get a list with empty string like [''] This will make the next if statement "if not no_proxy:" false. This is leading to a bug where a connection initiated from a localhost / 127.0.0.1 will not be considered as no_proxy type of connection. Leading to an exception ValueError("scheme %s is invalid" % scheme) with the scheme value set to http from parse_url() function
* Add pysocks support.jhtitor2018-03-301-1/+4
|
* cannot use long literal on python3liris2016-10-061-1/+1
|
* _url: Added subnet IP address matching in no_proxy host detectionMiacz2016-09-201-1/+34
|
* wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise importsAllan Lewis2016-04-271-1/+1
| | | | | | | | | | | | | | 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.
* _abnf, _app, _http, _url: [PEP 8] Fix indentsAllan Lewis2016-04-271-2/+3
|
* wsdump, _core, _url, _utils: Remove redundant parenthesesAllan Lewis2016-04-271-1/+1
|
* fix typosJakub Wilk2016-01-031-2/+2
|
* fixed #160 and some refactoringliris2015-03-251-7/+7
|
* add "__all__"Hiroki Ohtani2015-03-191-9/+17
|
* refactoring.,,liris2015-03-131-0/+118