Set if redirects should be followed when this request is made. By default, requests will not follow redirects before yielding the response (the 3xx redirect is yielded)
Destroy the request and respond with a network error.
Respond to this request with a redirect to a new location.
HTTP status code to redirect with. Default: 302
Control the response to this request.
If a function is passed, the request will be sent outgoing, and the function will be called
with the response from the upstream server.
If a StaticResponse is passed, it will be used as the response, and no request will be made
to the upstream server.
Shortcut to reply to the request with a body and optional headers.
Shortcut to reply to the request with an HTTP status code and optional body and headers.
Generated using TypeDoc
If set,
cy.waitcan be used to await the request/response cycle to complete for this request viacy.wait('@alias').