(connection, request)
| 416 | """Client reads HTTP response.""" |
| 417 | |
| 418 | def http_response(connection, request): |
| 419 | return connection.respond(http.HTTPStatus.OK, "👌") |
| 420 | |
| 421 | async with serve(*args, process_request=http_response) as server: |
| 422 | with self.assertRaises(InvalidStatus) as raised: |