diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:26 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:26 -0700 |
commit | c6ee35e00c5709435b3a6b664c44fceb70a918c6 (patch) | |
tree | 816307f3c7e1c80f1dd49d617e480e95198d9c18 /requests/api.py | |
parent | 9f376f89bdf80a40914218d64cd9cd61b25f449d (diff) | |
download | python-requests-c6ee35e00c5709435b3a6b664c44fceb70a918c6.tar python-requests-c6ee35e00c5709435b3a6b664c44fceb70a918c6.tar.gz |
Imported Upstream version 1.2.0
Diffstat (limited to 'requests/api.py')
-rw-r--r-- | requests/api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requests/api.py b/requests/api.py index 4a39211..baf43dd 100644 --- a/requests/api.py +++ b/requests/api.py @@ -73,6 +73,7 @@ def head(url, **kwargs): :param \*\*kwargs: Optional arguments that ``request`` takes. """ + kwargs.setdefault('allow_redirects', False) return request('head', url, **kwargs) |