You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would we ignore errors from RC::JsonResponse on Redirect?
e.g.
curl http://some.json.api/
=>
HTTP/1.1 301 Moved Permanently
Location: https://some.json.api/
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved Permanently</TITLE></HEAD><BODY>
<H1>30 Moved</H1>
The document has moved
<A HREF="https://some.json.api/">here</A>.
</BODY></HTML>
This is because RC::FollowRedirect is behind of RC::JsonResponse in RC::Universal. I think it makes sense to have it reversed so that it's much more general. (some sites might not return proper JSON upon redirect)
Please checkout 674f61d
This would be included in the next release.
How would we ignore errors from RC::JsonResponse on Redirect?
e.g.
The text was updated successfully, but these errors were encountered: