httplib2
httplib2 copied to clipboard
Fix handling of RETRIES parameter
Currently, the library tries to execute a request at most RETRIES-1 times.
With the default value of RETRIES=2, you can get errors when making a new request after the server or OS has closed the socket.
With this fix, the request will be tried up to RETRIES times.
I am also effected by this bug - how about merging it?