Issue 155 in httplib2: TypeError: __init__() takes exactly 4 arguments (2 given)

3 views
Skip to first unread message

codesite...@google.com

unread,
Jun 22, 2011, 8:35:02 PM6/22/11
to httplib...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 155 by cwith...@gmail.com: TypeError: __init__() takes exactly 4
arguments (2 given)
http://code.google.com/p/httplib2/issues/detail?id=155

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.

Reply all
Reply to author
Forward
0 new messages