Revision 77b8a8e3 snf-pithos-app/pithos/api/util.py
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
260 | 260 |
disposition_type = disposition_type if disposition_type in \ |
261 | 261 |
('inline', 'attachment') else None |
262 | 262 |
if disposition_type is not None: |
263 |
response['Content-Disposition'] = '%s; filename=%s' % ( |
|
264 |
disposition_type, meta['name']) |
|
263 |
response['Content-Disposition'] = smart_str('%s; filename=%s' % (
|
|
264 |
disposition_type, meta['name']), strings_only=True)
|
|
265 | 265 |
|
266 | 266 |
|
267 | 267 |
def update_manifest_meta(request, v_account, meta): |
Also available in: Unified diff