MCPcopy Index your code
hub / github.com/httpie/cli / BytesCLIResponse

Class BytesCLIResponse

tests/utils/__init__.py:230–238  ·  view source on GitHub ↗

Used as a fallback when a StrCLIResponse cannot be used. E.g. when the output contains binary data or when it is colorized. `.json` will always be None.

Source from the content-addressed store, hash-verified

228
229
230class BytesCLIResponse(bytes, BaseCLIResponse):
231 """
232 Used as a fallback when a StrCLIResponse cannot be used.
233
234 E.g. when the output contains binary data or when it is colorized.
235
236 `.json` will always be None.
237
238 """
239
240
241class StrCLIResponse(str, BaseCLIResponse):

Callers 1

from_raw_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected