yaocaigen / httplib2

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

Basic authentication user name replacement #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Making several requests to the same server 
2. Use the add_credentials method
3. Somehow user name gets replaced with 'None' and authentication fails

What is the expected output? What do you see instead?
After several 200 responses from server, I get a 401.

What version of the product are you using? On what operating system?
0.7.1 on Windows 7 using Python 2.7.2

Please provide any additional information below.
My code uses a for loop making https requests with different values provided to 
a single parameter.  The first few requests work, then user name is replaced, 
and authorization fails.

Original issue reported on code.google.com by jgroman5...@gmail.com on 20 Sep 2011 at 2:18