mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
Removed failing content disposition header
This commit is contained in:
@@ -53,9 +53,10 @@ def download(request, mix_id):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
response = HttpResponseRedirect(mix.archive_path)
|
response = HttpResponseRedirect(mix.archive_path)
|
||||||
|
"""
|
||||||
response['Content-Disposition'] = 'attachment; filename=' + \
|
response['Content-Disposition'] = 'attachment; filename=' + \
|
||||||
smart_str('Deep South Sounds - %s%s' % (mix.title, mix.filetype))
|
smart_str('Deep South Sounds - %s%s' % (mix.title, mix.filetype))
|
||||||
|
"""
|
||||||
return response
|
return response
|
||||||
else:
|
else:
|
||||||
return HttpResponse('Downloads not allowed for this mix', status=401)
|
return HttpResponse('Downloads not allowed for this mix', status=401)
|
||||||
|
|||||||
Reference in New Issue
Block a user