Open tp opened 9 years ago
I think it is the other way.. XMLHttpRequest
, which is the underlying library in the browser does not let you intercept redirects, so browser-request
cannot support the followRedirect
option which the standard request
library does
It seems to me, that requests made with browser-requests never follow redirects, but rather return the 30x response.
I just found the source for the error, that it's not supported: https://github.com/iriscouch/browser-request/blob/d99a386fc9f8109555cd92b7f3287cc5d816aa24/index.js#L57
Could you please document / mention the reason why it's not supported?
(And for those wanting redirect support I suppose we have to handle the 30x response ourselves, right?)