httpx icon indicating copy to clipboard operation
httpx copied to clipboard

bugfix for zstd decompressobj reuse

Open mbeijen opened this issue 2 months ago • 0 comments

Fixes https://github.com/encode/httpx/discussions/3538

Summary

This fixes an issue where zstd decoding fails. I've included a test case.

Checklist

  • [ x ] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [ x ] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [ x ] I've updated the documentation accordingly.

mbeijen avatar Oct 27 '25 18:10 mbeijen