Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Jan 13, 2011
  1. fix issue #16

    dholth authored
    git-svn-id: fb9420a8-c688-11dd-8ca8-e3ff79f713b6
Commits on Oct 16, 2009
  1. closes #11 "Missing support for set_http_debuglevel"

    matthijs.mullender authored
    Contribution by Jakub Tomany
    HTTP debuging enabled by implementing set_http_debuglevel method
    Author:     Jakub Tomany
    Date:       14.10.2009
    Keyword:    set_http_debuglevel
    git-svn-id: fb9420a8-c688-11dd-8ca8-e3ff79f713b6
Commits on Jul 16, 2009
  1. closes issue 9:

    matthijs.mullender authored
    New issue 9 by j.nick.terry: handler doesn't verify www-authenticate exists
    I'm at trying to authenticate with a server that uses NTLM.  However it
    doesn't set the www-authenticate header.  The handler assumes this value
    exists and tries set it to lower.  Since the server doesn't return that
    header, python throws an exception about None not having a lower method.
    Traceback (most recent call last):
     File "", line 24, in <module>
       response = urllib2.urlopen(url)
     File "/usr/lib/python2.5/", line 124, in urlopen
       return, data)
     File "/usr/lib/python2.5/", line 387, in open
       response = meth(req, response)
     File "/usr/lib/python2.5/", line 498, in http_response
       'http', request, response, code, msg, hdrs)
     File "/usr/lib/python2.5/", line 419, in error
       result = self._call_chain(*args)
     File "/usr/lib/python2.5/", line 360, in _call_chain
       result = func(*args)
     File "/home/nickte/test/moderation/ntlm/", line 92,
    in http_error_401
       return self.http_error_authentication_required('www-authenticate', req,
    fp, headers)
     File "/home/nickte/test/moderation/ntlm/", line 30,
    in http_error_authentication_required
       if 'ntlm' in auth_header_value.lower():
    AttributeError: 'NoneType' object has no attribute 'lower'
    git-svn-id: fb9420a8-c688-11dd-8ca8-e3ff79f713b6
Commits on Jan 29, 2009
  1. fixes Issue 5: global name 'URLError' is not defined

    Matthijs.Mullender authored
    git-svn-id: fb9420a8-c688-11dd-8ca8-e3ff79f713b6
Something went wrong with that request. Please try again.