Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization with NTLM getting AttributeError: HTTPResponse instance has no attribute '__iter__' #88

caseydunham opened this issue Oct 24, 2013 · 2 comments


Copy link

I'm opening this issue to address the reported issue originally appearing in this Stack Overflow question. I ran into this myself recently and applied the patch and tested that it works. The original patch was in the answer provided by cube on the SO site.

I have not seen this patch mentioned in any current issue open for mechanize and the master version of does not have the fix.

File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 203, in open
File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 249, in _mech_open
File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 304, in _set_response
File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 521, in upgrade_response
File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 338, in init
File "build/bdist.macosx-10.6-universal/egg/mechanize/", line 353, in _set_fp
AttributeError: HTTPResponse instance has no attribute 'iter'

caseydunham pushed a commit to caseydunham/mechanize that referenced this issue Oct 24, 2013
Copy link

This is still an issue.

Copy link

devtanna commented Jan 5, 2017

This is still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

3 participants