The response redirects (3xx, or exactly status when given) to location.
- location: the
Locationthe response must have. - status: the exact status wanted. 0 accepts any 3xx.
expect_redirect :: (
response: Client_Response,
location: string,
status := 0,
loc := #caller_location
) -> bool
The response redirects (3xx, or exactly status when given) to location.
Parameters
- response: Client_Response
- location: string
- the
Locationthe response must have. - status := 0
- the exact status wanted. 0 accepts any 3xx.
- loc := #caller_location
Returns
- bool