Skip to content

Commit

Permalink
fix issue #16
Browse files Browse the repository at this point in the history
git-svn-id: http://python-ntlm.googlecode.com/svn/trunk/python26/ntlm@78 fb9420a8-c688-11dd-8ca8-e3ff79f713b6
  • Loading branch information
dholth committed Jan 13, 2011
1 parent 91ec1da commit 9ae7f33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HTTPNtlmAuthHandler.py
Expand Up @@ -81,7 +81,10 @@ def retry_using_http_NTLM_auth(self, req, auth_header_field, realm, headers):
def notimplemented(): def notimplemented():
raise NotImplementedError raise NotImplementedError
response.readline = notimplemented response.readline = notimplemented
return addinfourl(response, response.msg, req.get_full_url()) infourl = addinfourl(response, response.msg, req.get_full_url())
infourl.code = response.status
infourl.msg = response.reason
return infourl
except socket.error, err: except socket.error, err:
raise urllib2.URLError(err) raise urllib2.URLError(err)
else: else:
Expand Down

0 comments on commit 9ae7f33

Please sign in to comment.