Files
deb-python-oauth2client/tests/http_mock.py
Travis Hobrla 7d517d9295 Rewind original stream body when refreshing.
When refreshing credentials, the original request is re-sent
after the credentials are refreshed.

If the body of that request is a stream, the stream contents
are read in the initial request, and the stream must be rewound
before the request is re-sent. Otherwise, the original message
body will be different (because stream data was skipped).
2015-05-13 09:18:45 -07:00

3.7 KiB