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
Hi,
can you handle relative redirects for HTTP 300 codes? I know that header Location should always contain absolute URL, but all browsers (and Python requests) handle relative URLs correctly.
For example for this URL http://e107.funsite.cz/ I get Requests_Exception: Only HTTP requests are handled. because of relative redirect via 302 with header Location: news.php.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
can you handle relative redirects for HTTP 300 codes? I know that header
Location
should always contain absolute URL, but all browsers (and Python requests) handle relative URLs correctly.For example for this URL http://e107.funsite.cz/ I get
Requests_Exception: Only HTTP requests are handled.
because of relative redirect via 302 with headerLocation: news.php
.Thanks
The text was updated successfully, but these errors were encountered: