Open jamesbraza opened 5 months ago
Is your feature request related to a problem? Please describe.
I have google-resumable-media==2.7.1 and want to use it with httpx. httpx breaks compatibility with requests in several ways:
google-resumable-media==2.7.1
httpx
requests
stream = True
iter_content (used here) is now iter_bytes: https://www.python-httpx.org/compatibility/#streaming-responses
iter_content
iter_bytes
Describe the solution you'd like
It would be nice to support httpx. It is also supports asyncio as requested in https://github.com/googleapis/google-resumable-media-python/issues/28.
asyncio
Describe alternatives you've considered
N/a
Additional context
Thanks for the feature request. We don't have more information on the roadmap for httpx support but our team will look into this and provide an update when one is available.
Is your feature request related to a problem? Please describe.
I have
google-resumable-media==2.7.1
and want to use it withhttpx
.httpx
breaks compatibility withrequests
in several ways:stream = True
(used here) is now a context manager: https://www.python-httpx.org/compatibility/#streaming-responsesiter_content
(used here) is nowiter_bytes
: https://www.python-httpx.org/compatibility/#streaming-responsesDescribe the solution you'd like
It would be nice to support
httpx
. It is also supportsasyncio
as requested in https://github.com/googleapis/google-resumable-media-python/issues/28.Describe alternatives you've considered
N/a
Additional context
N/a