MCPcopy
hub / github.com/encode/httpx / IdentityDecoder

Class IdentityDecoder

httpx/_decoders.py:44–53  ·  view source on GitHub ↗

Handle unencoded data.

Source from the content-addressed store, hash-verified

42
43
44class IdentityDecoder(ContentDecoder):
45 """
46 Handle unencoded data.
47 """
48
49 def decode(self, data: bytes) -> bytes:
50 return data
51
52 def flush(self) -> bytes:
53 return b""
54
55
56class DeflateDecoder(ContentDecoder):

Callers 1

_get_content_decoderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected