eshad / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

TypeError: __init__() takes exactly 4 arguments (2 given) #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
http = Http()
http.add_credentials(username,password)
resp,content = http.request(full_url,'GET',)

What is the expected output? 

An error explaining what challenge algorithm isn't supported.

What do you see instead?

  File "/var/buildout-eggs/httplib2-0.7.1-py2.6.egg/httplib2/__init__.py", line 506, in __init__
    raise UnimplementedDigestAuthOptionError( _("Unsupported value for algorithm: %s." % self.challenge['algorithm']))
TypeError: __init__() takes exactly 4 arguments (2 given)

What version of the product are you using? On what operating system?

0.7.1 on linux

Please provide any additional information below.

Original issue reported on code.google.com by cwith...@gmail.com on 23 Jun 2011 at 12:34