Add support for modifying Content-Disposition
This commit is contained in:
parent
0bb724dcc1
commit
ec9036e5a0
|
@ -118,6 +118,8 @@ async def handler(request):
|
|||
}
|
||||
if content_type := query.get('Content-Type'):
|
||||
headers['Content-Type'] = content_type
|
||||
if content_disposition := query.get('Content-Disposition'):
|
||||
headers['Content-Disposition'] = content_disposition
|
||||
|
||||
async def download():
|
||||
tmp_offset = offset
|
||||
|
|
Loading…
Reference in New Issue