(self, status: int, response_headers: dict[str, Any], output: bytes)
| 144 | input: Any |
| 145 | |
| 146 | def with_response(self, status: int, response_headers: dict[str, Any], output: bytes) -> RequestResponse: |
| 147 | return RequestResponse( |
| 148 | self.protocol, |
| 149 | self.verb, |
| 150 | self.host, |
| 151 | self.port, |
| 152 | self.url, |
| 153 | self.request_headers, |
| 154 | self.input, |
| 155 | status, |
| 156 | response_headers, |
| 157 | output, |
| 158 | ) |
| 159 | |
| 160 | |
| 161 | @dataclass |
no test coverage detected