Throw error if redirect errors is set.
g105b opened this issue · comments
As per https://developer.mozilla.org/en-US/docs/Web/API/GlobalFetch/fetch , if the init config has redirect = error
, an exception should be thrown if there is a redirect on the request.