Removed failing content disposition header

This commit is contained in:
Fergal Moran
2014-08-30 19:44:48 +01:00
parent 118cefb9e5
commit e943c71ba2

View File

@@ -53,9 +53,10 @@ def download(request, mix_id):
)
else:
response = HttpResponseRedirect(mix.archive_path)
"""
response['Content-Disposition'] = 'attachment; filename=' + \
smart_str('Deep South Sounds - %s%s' % (mix.title, mix.filetype))
"""
return response
else:
return HttpResponse('Downloads not allowed for this mix', status=401)