@app.get('/dowload')
async def download(url: str):
async def proxy():
async with httpx.AsyncClient() as client:
async with client.stream("GET", url) as r:
async for chunk in r.aiter_bytes():
yield chunk
return StreamingResponse(proxy())