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

Method flush

httpx/_decoders.py:78–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 raise DecodingError(str(exc)) from exc
77
78 def flush(self) -> bytes:
79 try:
80 return self.decompressor.flush()
81 except zlib.error as exc: # pragma: no cover
82 raise DecodingError(str(exc)) from exc
83
84
85class GZipDecoder(ContentDecoder):

Callers

nothing calls this directly

Calls 2

DecodingErrorClass · 0.85
flushMethod · 0.45

Tested by

no test coverage detected