set 'allow_redirects' to True by default
the previous implementation of url_helper.readurl() would default to allow_redirects being true. So, for backwards compat, we should keep that behavior.
This commit is contained in:
parent
89bc8a2dfc
commit
4ab16c490e
@ -103,7 +103,7 @@ class UrlError(IOError):
|
||||
|
||||
def readurl(url, data=None, timeout=None, retries=0, sec_between=1,
|
||||
headers=None, ssl_details=None, check_status=True,
|
||||
allow_redirects=False):
|
||||
allow_redirects=True):
|
||||
url = _cleanurl(url)
|
||||
req_args = {
|
||||
'url': url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user