python-socks 3.1.0__py3-none-any.whl → 3.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_socks/_protocols/http.py +1 -1
- python_socks/_version.py +1 -1
- python_socks/async_/asyncio/v2/_stream.py +1 -1
- {python_socks-3.1.0.dist-info → python_socks-3.2.0.dist-info}/METADATA +1 -1
- {python_socks-3.1.0.dist-info → python_socks-3.2.0.dist-info}/RECORD +8 -8
- {python_socks-3.1.0.dist-info → python_socks-3.2.0.dist-info}/WHEEL +1 -1
- {python_socks-3.1.0.dist-info → python_socks-3.2.0.dist-info}/licenses/LICENSE.txt +0 -0
- {python_socks-3.1.0.dist-info → python_socks-3.2.0.dist-info}/top_level.txt +0 -0
python_socks/_protocols/http.py
CHANGED
|
@@ -104,7 +104,7 @@ class ConnectRequest:
|
|
|
104
104
|
buff.append_line(f"Host: {host}:{self.port}")
|
|
105
105
|
buff.append_line(f"User-Agent: {DEFAULT_USER_AGENT}")
|
|
106
106
|
|
|
107
|
-
if self.username and self.password:
|
|
107
|
+
if self.username and self.password is not None:
|
|
108
108
|
auth = BasicAuth(self.username, self.password)
|
|
109
109
|
buff.append_line(f"Proxy-Authorization: {auth.encode()}")
|
|
110
110
|
|
python_socks/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__title__ = "python-socks"
|
|
2
|
-
__version__ = "3.
|
|
2
|
+
__version__ = "3.2.0"
|
|
@@ -3,7 +3,7 @@ python_socks/_abc.py,sha256=hWx0g_a1Df5puIzVIn3Dd9_SHF4ADzax4WQZeo-Y8bY,1207
|
|
|
3
3
|
python_socks/_errors.py,sha256=gfolrrm3V08_v5HTLz0IyLlq14lkyXbOGa_X-ppSFzQ,511
|
|
4
4
|
python_socks/_helpers.py,sha256=NweYNhD0-RimP0TPzfqofp3EFl23WWr6pMP_4g-Tskc,2743
|
|
5
5
|
python_socks/_types.py,sha256=G4Pktu-z8eJmdmlt6t8gnMT5-kuZQkY7Vmy1Nx0rdIw,157
|
|
6
|
-
python_socks/_version.py,sha256=
|
|
6
|
+
python_socks/_version.py,sha256=NQYAQMwP-YZWwGqMVtsvCioQOOVXkAnxum4HOvFkIo4,49
|
|
7
7
|
python_socks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
python_socks/_connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
python_socks/_connectors/abc.py,sha256=FaLueczebKhIH0CvOfw232hE_SlKc8BY2hWfCXNpxmI,435
|
|
@@ -17,7 +17,7 @@ python_socks/_connectors/socks5_async.py,sha256=NWjUYubjCuT9Kxz02LLQbhgotzUug_J-
|
|
|
17
17
|
python_socks/_connectors/socks5_sync.py,sha256=_Au7HLSC3UPVORyC4ziFOXisxetTItIqqH7iEjhSR7g,2907
|
|
18
18
|
python_socks/_protocols/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
python_socks/_protocols/errors.py,sha256=rtQo2fM92Oc41ELMBPvyY2zHZomGAxXWRL0_3rzm9FM,269
|
|
20
|
-
python_socks/_protocols/http.py,sha256=
|
|
20
|
+
python_socks/_protocols/http.py,sha256=gSvlUO9B8c4eT4JOKkgivX05nKXDNLv4zPujDKA2xV0,4999
|
|
21
21
|
python_socks/_protocols/socks4.py,sha256=F2sEgWYe19asMH4AtD4htlEnRlQBN641HQqoFKivVpw,3071
|
|
22
22
|
python_socks/_protocols/socks5.py,sha256=grVRKgRVm6xMBgX9MwUVXTJ515-tLOYGXYyfnH7AIXA,10147
|
|
23
23
|
python_socks/async_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -38,7 +38,7 @@ python_socks/async_/asyncio/_stream.py,sha256=p2XMTbrnXwz23jGd4NPYIcpgx1nZnNjn7a
|
|
|
38
38
|
python_socks/async_/asyncio/v2/__init__.py,sha256=vryJNtCqDYriwWhmlB279WN7XI1dbELUAOrsMXWN2Ww,64
|
|
39
39
|
python_socks/async_/asyncio/v2/_connect.py,sha256=W5ZaQF-jY1yxD_WjiuFUot0gADeY-QiCFFaXm5Nfj5I,625
|
|
40
40
|
python_socks/async_/asyncio/v2/_proxy.py,sha256=iqngXtYYD79yHAnMHIc5UxsTlzRQZiY8pL2seBnxYI4,4935
|
|
41
|
-
python_socks/async_/asyncio/v2/_stream.py,sha256=
|
|
41
|
+
python_socks/async_/asyncio/v2/_stream.py,sha256=ifVUOKp3c_CEUMdxWibK6eZ7Fr70RPeLislI0ZsRmQI,2921
|
|
42
42
|
python_socks/async_/trio/__init__.py,sha256=-SQ1iuGgZ3A9YUaVKF8Q12lCj_e-5Kytd9P3zJwaoy0,61
|
|
43
43
|
python_socks/async_/trio/_connect.py,sha256=Zvdun2nXdMmbXACEQsKnmRcUmB8fCLuiJD21gXnfv8c,910
|
|
44
44
|
python_socks/async_/trio/_proxy.py,sha256=LhacHbqElxSZK9nWmyTAbbBc5cAqZ8MrlylkD52-3Po,3793
|
|
@@ -58,8 +58,8 @@ python_socks/sync/v2/_connect.py,sha256=TQGD3j8qwHjJqqzLRubmwmIMhkoWRfQd4351ipTY
|
|
|
58
58
|
python_socks/sync/v2/_proxy.py,sha256=sD2vVKvXEfSw5IzzDcwp45DElkKB33lsT6ZCKXcoxPk,3815
|
|
59
59
|
python_socks/sync/v2/_ssl_transport.py,sha256=z3fB52pH7tqOADyICuoJF1YYKTs1ogkeR3K-J8v6P0w,6123
|
|
60
60
|
python_socks/sync/v2/_stream.py,sha256=23srzyxyP7o7KtEdNQllZIvPIxBZ8oC_rV0bkd4jui8,1744
|
|
61
|
-
python_socks-3.
|
|
62
|
-
python_socks-3.
|
|
63
|
-
python_socks-3.
|
|
64
|
-
python_socks-3.
|
|
65
|
-
python_socks-3.
|
|
61
|
+
python_socks-3.2.0.dist-info/licenses/LICENSE.txt,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
62
|
+
python_socks-3.2.0.dist-info/METADATA,sha256=bVd_f5ZA6BFc16hMQAt7O9_MAzoWnvJspk74bPDzpvY,8923
|
|
63
|
+
python_socks-3.2.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
64
|
+
python_socks-3.2.0.dist-info/top_level.txt,sha256=7qyDAVwjTZ0sIYG1iatFbE-SLpWhONjaoMQ0Ib2DX0Q,13
|
|
65
|
+
python_socks-3.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|