PyPI / httpx2 / 2.16.0

httpx2 2.16.0

Source
https://github.com/pydantic/httpx2
Artifact scanned
httpx2-2.16.0-py3-none-any.whl (wheel · 95.6 KB · SHA-256 fd2c5d7909e8…)
Compared with
httpx2-2.15.1-py3-none-any.whl (0 signals introduced since)
Files
33 scanned, 4 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.4 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-23 05:21

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review decoder-decompress-payload httpx2/_decoders.py:74:24

    file imports decoder module(s) codecs, zlib and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)

        def decompress(self, data: bytes) -> typing.Iterator[bytes]:
            decompressed = self.decompressor.decompress(data, MAX_DECODE_CHUNK_SIZE)
            while decompressed:
                yield decompressed
    likely benign LLM, confidence 0.95 Streaming HTTP response decoder that decompresses incoming body chunks in bounded pieces and yields them.
    Reasoning

    The snippet is a standard streaming HTTP content-decoding loop: it calls decompress on incoming response bytes with a bounded chunk size and yields the output. This is the normal behavior of an HTTP client decoding gzip/deflate/brotli response bodies, not an embedded payload. The finding's signal fires on the generic .decompress() call pattern in a decoder module, which is expected here.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o httpx2-2.16.0-py3-none-any.whl https://files.pythonhosted.org/packages/7b/3d/2e4bc4fd1ef9770871669adb348d612a6e4786b303a23f9935b81c48dd60/httpx2-2.16.0-py3-none-any.whl
printf '%s  %s\n' fd2c5d7909e8d86fe92d53020c310ca0e4e431b838c207c5754b9bbf0308d49a httpx2-2.16.0-py3-none-any.whl | shasum -a 256 -c -
unzip -q httpx2-2.16.0-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg