Skip to content

Commit

Permalink
Fix #10768
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Jun 24, 2015
1 parent 4956a5a commit f91a13c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion w3af/core/data/url/extended_urllib.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def __getattr__(self, method_name):
def any_method(uri_opener, method, uri, data=None, headers=Headers(),
cache=False, grep=True, cookies=True,
error_handling=True, timeout=None, use_basic_auth=True,
use_proxy=True):
use_proxy=True, follow_redirects=False):
"""
:return: An HTTPResponse object that's the result of sending
the request with a method different from GET or POST.
Expand All @@ -757,6 +757,7 @@ def any_method(uri_opener, method, uri, data=None, headers=Headers(),
timeout=timeout,
new_connection=new_connection,
use_basic_auth=use_basic_auth,
follow_redirects=follow_redirects,
use_proxy=True)
req = uri_opener.add_headers(req, headers or {})
return uri_opener.send(req, grep=grep)
Expand Down

0 comments on commit f91a13c

Please sign in to comment.