Browse Source

Add support for modifying Content-Disposition

master
blank X 1 year ago
parent
commit
ec9036e5a0
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 2
      streamtg.py

2
streamtg.py

@ -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…
Cancel
Save