Fix: response content is empty when using cache by yanxurui · Pull Request #1248 · googleapis/google-auth-library-python
requested a review
from a team
chalmerlowe pushed a commit that referenced this pull request
Dec 19, 2025Using .read() is more robust when working with caching libraries like aiohttp-client-cache, which may cause .content.read() to return empty bytes on subsequent reads. .read() ensures the full body is returned. Fixes #1248
chalmerlowe pushed a commit that referenced this pull request
Dec 19, 2025Using .read() is more robust when working with caching libraries like aiohttp-client-cache, which may cause .content.read() to return empty bytes on subsequent reads. .read() ensures the full body is returned. Fixes #1248
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters