MCPcopy
hub / github.com/httpie/cli / StdinBytesIO

Class StdinBytesIO

tests/utils/__init__.py:124–126  ·  view source on GitHub ↗

To be used for `MockEnvironment.stdin`

Source from the content-addressed store, hash-verified

122
123
124class StdinBytesIO(BytesIO):
125 """To be used for `MockEnvironment.stdin`"""
126 len = 0 # See `prepare_request_body()`
127
128
129class MockEnvironment(Environment):

Calls

no outgoing calls