What steps will reproduce the problem?
1. Call OAuth2Token._refresh(...) on a revoked refresh token
2. Examine the resulting response's body
What is the expected output? What do you see instead?
response.body is empty when should contain JSON data, e.g. '{"error" :
"invalid_grant"}'.
What version of the product are you using?
2.0.17
Please provide any additional information below.
This is probably because in gdata/gauth.py:1225 response.read() is called,
which can only be called once, so when the function returns response, calling
response.read() again will result in an empty string.
Original issue reported on code.google.com by nakti...@gmail.com on 4 Sep 2012 at 12:46
Original issue reported on code.google.com by
nakti...@gmail.com
on 4 Sep 2012 at 12:46