Open alee13-chwy opened 2 years ago
Since 301 and 302 are considered as successful, it misses error when the final Location is an error.
Using contentInspector(result) gives me access to result.headers.location but not make a new request by setting options.path = result.headers.location
Sorry for the inexcusable delay. I imagine it should be easier to make a request to the final location. In any case, if you propose a patch I will gladly accept it.
Since 301 and 302 are considered as successful, it misses error when the final Location is an error.
Using contentInspector(result) gives me access to result.headers.location but not make a new request by setting options.path = result.headers.location