(self, body: bytes, headers=None, fail_after_first_chunk=False)
| 843 | """Minimal stand-in for the opener's response: headers, geturl, read.""" |
| 844 | |
| 845 | def __init__(self, body: bytes, headers=None, fail_after_first_chunk=False): |
| 846 | self._body = body |
| 847 | self._offset = 0 |
| 848 | self._fail_after_first_chunk = fail_after_first_chunk |
| 849 | self.headers = dict(headers or {}) |
| 850 | |
| 851 | def __enter__(self): |
| 852 | return self |
nothing calls this directly
no outgoing calls
no test coverage detected