Skip to content

Commit

Permalink
history for HEAD 3xx
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Feb 20, 2012
1 parent 7098282 commit 6f57352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+++++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion requests/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 6f57352

Please sign in to comment.