Skip to content
Myr

history for HEAD 3xx

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 7098282 · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:requests/api.py+1 added-1 removed
67 unmodified lines
68 :param url: URL for the new :class:`Request` object.69 :param **kwargs: Optional arguments that ``request`` takes.70 """7172 kwargs.setdefault('allow_redirects', True)72 kwargs.setdefault('allow_redirects', False)73 return request('head', url, **kwargs)747576def post(url, data=None, **kwargs):
40 unmodified lines
modified:HISTORY.rst+2 added-1 removed
2 unmodified lines
340.10.3 (2012-02-20)5+++++++++++++++++++67* HEAD requests don't follow redirects anymore.8* raise_for_status() doesn't raise for 3xx anymore.9* Make Session objects picklable.10* ValueError for invalid schema URLs.9* raise_for_status() doesn't raise for 3xx anymore.11120.10.2 (2012-01-15)13+++++++++++++++++++14
371 unmodified lines