Azure / Azure/azure-sdk-for-python

Investigate Content-Encoding zstd on Azure SDK starting Python 3.14

Offen
#43,371 0 Kommentare 0 Reaktionen 2 zugewiesene Personen Beansprucht von @xiangyan99 Auf GitHub ansehen
Azure.Core Core.Http question
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
202

Beschreibung

Starting Python 3.14, Python starts to send through Accept-Encoding that it accepts "zstd", for instance:
```
Accept-Encoding: gzip, deflate, zstd
```

We need to investigate what happens if Azure picks up on that, and starts to return an encoded response with that format, with a header like that in response:
```
Content-Encoding: zstd
```

We do have code that check encoding with an exhaustive list, that may be at risk in 3.14. For instance:
https://github.com/Azure/azure-sdk-for-python/blob/483968503410f4b2a28e9948221d8f5d7ac20ec7/sdk/core/azure-core/azure/core/pipeline/transport/_aiohttp.py#L457

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.