Andres Riancho <andres.rian...@gmail.com> added the comment:

One more comment to be added. Please take a look at the following [0] w3af bug 
report. The interesting part starts at "[ Sun Nov 28 01:25:47 2010 - debug ] 
Traceback (most recent call last):".

In there you'll find that my w3af code had a section of urllib2's code in 
logHandler.py (self.original_http_error_302(req, fp, code, msg, headers)) and 
that the error is very clear (to me at least):

[ Sun Nov 28 01:25:47 2010 - debug ] newurl = headers.getheaders('location')[0]
[ Sun Nov 28 01:25:47 2010 - debug ] AttributeError?: 'dict' object has no 
attribute 'getheaders'

[0] https://sourceforge.net/apps/trac/w3af/ticket/160511

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11280>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to