diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-10-18 19:25:15 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-10-29 23:40:45 +0200 |
commit | 527566f337f939d0efd25e5775aa72fae339fcea (patch) | |
tree | bbf80810704411feb4613c26c29f75953b8f39c5 /dev-python/uvicorn | |
parent | dev-ruby/launchy: remove unused patch(es) (diff) | |
download | gentoo-527566f337f939d0efd25e5775aa72fae339fcea.tar.gz gentoo-527566f337f939d0efd25e5775aa72fae339fcea.tar.bz2 gentoo-527566f337f939d0efd25e5775aa72fae339fcea.zip |
dev-python/uvicorn: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/22625
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/uvicorn')
-rw-r--r-- | dev-python/uvicorn/files/uvicorn-0.13.4-fix-wsproto-1.0.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-python/uvicorn/files/uvicorn-0.13.4-fix-wsproto-1.0.patch b/dev-python/uvicorn/files/uvicorn-0.13.4-fix-wsproto-1.0.patch deleted file mode 100644 index da3038d6db40..000000000000 --- a/dev-python/uvicorn/files/uvicorn-0.13.4-fix-wsproto-1.0.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://github.com/encode/uvicorn/pull/892 - -diff --git a/tests/protocols/test_http.py b/tests/protocols/test_http.py -index f35a965d..25110fc6 100644 ---- a/tests/protocols/test_http.py -+++ b/tests/protocols/test_http.py -@@ -67,6 +67,7 @@ - b"Host: example.org", - b"Connection: upgrade", - b"Upgrade: websocket", -+ b"Sec-WebSocket-Version: 11", - b"", - b"", - ] -diff --git a/tests/protocols/test_websocket.py b/tests/protocols/test_websocket.py -index 24bc285f..7c3fcc08 100644 ---- a/tests/protocols/test_websocket.py -+++ b/tests/protocols/test_websocket.py -@@ -51,7 +51,11 @@ def app(scope): - async with httpx.AsyncClient() as client: - response = await client.get( - "http://127.0.0.1:8000", -- headers={"upgrade": "websocket", "connection": "upgrade"}, -+ headers={ -+ "upgrade": "websocket", -+ "connection": "upgrade", -+ "sec-webSocket-version": "11", -+ }, - timeout=5, - ) - if response.status_code == 426: |