toResponse

Builds the response a transport would return for this fixture.

Return

a response with this status, these headers, a copy of the body and an empty redirect chain.

Parameters

url

the URL the response is reported to come from.