history for HEAD 3xx

This commit is contained in:
Kenneth Reitz
2012-02-20 14:02:13 -05:00
parent 709828204a
commit 6f5735274b
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -4,9 +4,10 @@ History
0.10.3 (2012-02-20)
+++++++++++++++++++
* HEAD requests don't follow redirects anymore.
* raise_for_status() doesn't raise for 3xx anymore.
* Make Session objects picklable.
* ValueError for invalid schema URLs.
* raise_for_status() doesn't raise for 3xx anymore.
0.10.2 (2012-01-15)
+++++++++++++++++++
+1 -1
View File
@@ -69,7 +69,7 @@ def head(url, **kwargs):
:param **kwargs: Optional arguments that ``request`` takes.
"""
kwargs.setdefault('allow_redirects', True)
kwargs.setdefault('allow_redirects', False)
return request('head', url, **kwargs)