Skip to content

Commit c917d27

Browse files
committed
Attempt removal of the zstandard dependency again
1 parent 9b27cf1 commit c917d27

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ attrs = ["attrs"]
5454
brotli = ["brotli"]
5555
zstd = [
5656
"backports-zstd==1.3.0; python_version < '3.14'",
57-
"zstandard>=0.24.0",
5857
]
5958
cli = ["jsbeautifier", "uvicorn[standard]"]
6059
cryptography = ["cryptography"]

tests/unit/test_connection/test_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async def app(scope: Scope, receive: Receive, send: Send) -> None:
185185
"headers": {
186186
"host": "example.org",
187187
"user-agent": "testclient",
188-
"accept-encoding": "gzip, deflate, br, zstd",
188+
"accept-encoding": "gzip, deflate, br",
189189
"accept": "*/*",
190190
"connection": "keep-alive",
191191
}

tests/unit/test_connection/test_websocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async def handler(socket: WebSocket[Any, Any, State]) -> None:
156156
with create_test_client(handler) as client, client.websocket_connect("/") as ws:
157157
expected_headers = {
158158
"accept": "*/*",
159-
"accept-encoding": "gzip, deflate, br, zstd",
159+
"accept-encoding": "gzip, deflate, br",
160160
"connection": "upgrade",
161161
"host": "testserver.local",
162162
"user-agent": "testclient",

tests/unit/test_kwargs/test_multipart_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def test_postman_multipart_form_data() -> None:
364364
"accept": "*/*",
365365
"cache-control": "no-cache",
366366
"host": "10.0.5.13:80",
367-
"accept-encoding": "gzip, deflate, br, zstd",
367+
"accept-encoding": "gzip, deflate, br",
368368
"connection": "keep-alive",
369369
"content-length": "2455",
370370
}

0 commit comments

Comments
 (0)