Skip to content

Commit 824f3f5

Browse files
committed
docs: Default zstd support for Python 3.14+
1 parent b312e20 commit 824f3f5

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ As well as these optional installs:
136136
* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*
137137
* `click` - Command line client support. *(Optional, with `httpx[cli]`)*
138138
* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)*
139-
* `zstandard` - Decoding for "zstd" compressed responses. *(Optional, with `httpx[zstd]`)*
139+
* `zstandard` - Decoding for "zstd" compressed responses before Python 3.14. *(Optional, with `httpx[zstd]`)*
140140

141141
A huge amount of credit is due to `requests` for the API layout that
142142
much of this work follows, as well as to `urllib3` for plenty of design

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ As well as these optional installs:
119119
* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*
120120
* `click` - Command line client support. *(Optional, with `httpx[cli]`)*
121121
* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)*
122-
* `zstandard` - Decoding for "zstd" compressed responses. *(Optional, with `httpx[zstd]`)*
122+
* `zstandard` - Decoding for "zstd" compressed responses before Python 3.14. *(Optional, with `httpx[zstd]`)*
123123

124124
A huge amount of credit is due to `requests` for the API layout that
125125
much of this work follows, as well as to `urllib3` for plenty of design

docs/quickstart.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ b'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'
100100

101101
Any `gzip` and `deflate` HTTP response encodings will automatically
102102
be decoded for you. If `brotlipy` is installed, then the `brotli` response
103-
encoding will be supported. If `zstandard` is installed, then `zstd`
104-
response encodings will also be supported.
103+
encoding will be supported. The `zstd` response encoding is supported by
104+
default on Python 3.14 and later, and optionally available on earlier Python
105+
versions with `zstandard` installed.
105106

106107
For example, to create an image from binary data returned by a request, you can use the following code:
107108

0 commit comments

Comments
 (0)