response
yosoi.browser.response
def response(url: str, *, method: str | None=None, status: int | None=None, json_matches: Iterable[JsonMatch]=()) -> ResponseExpectation:
Declare a matching network-response expectation for Until.
Args: url: Exact full response URL. method: Optional HTTP method filter. status: Optional expected status from 100 through 599. json_matches: At most 32 pointer/value comparisons, copied into an immutable tuple.
Returns: ResponseExpectation; this does not send an HTTP request.