From 03d5586548c7a5344e6a622028500e9b903f81d7 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 18 Aug 2023 11:08:57 -0400 Subject: [PATCH] Working on range request and seeking for file downloads and streaming --- app/routers/hosted_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/hosted_file.py b/app/routers/hosted_file.py index b45b8b0..455b878 100644 --- a/app/routers/hosted_file.py +++ b/app/routers/hosted_file.py @@ -239,7 +239,7 @@ async def file_streamer(path: str, start: int, end: int): # ### BEGIN ### API Hosted File ### stream_hosted_file() ### # Updated 2023-08-18 -@router.get('/{hosted_file_id}/stream_v2') +@router.get('/{hosted_file_id}/stream') async def stream_hosted_file( hosted_file_id: str = Query(..., min_length=11, max_length=22), filename: str = Query(None, min_length=4, max_length=100),