This commit is contained in:
blank X 2021-05-21 17:04:35 +07:00
parent fcadd6383c
commit c862cb8c65
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ async def handler(request):
'Content-Length': str(length),
'Accept-Ranges': 'bytes'
}
if content_type := requests.headers.get('Content-Type'):
if content_type := request.headers.get('Content-Type'):
headers['Content-Type'] = content_type
async def download():