Skip to content
Myr

Missing line was allowing redirects with HEAD

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

Closes #1203

authored by Ian Cordasco · committed by Ian Cordasco · parent f73bda0 · Browse files · 1 file+1 added−0 removed
This commit

State

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

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/api.py+1 added
71 unmodified lines
72 :param url: URL for the new :class:`Request` object.73 :param \*\*kwargs: Optional arguments that ``request`` takes.74 """7576 kwargs.setdefault('allow_redirects', False)77 return request('head', url, **kwargs)787980def post(url, data=None, **kwargs):
40 unmodified lines