Make a copy of the header list

This commit is contained in:
Florian Festi 2019-08-18 13:56:04 +02:00
parent 699e224bc7
commit e37e0df899
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ b"""
http_headers = box.formats.http_headers.get(
box.format,
[('Content-type', 'application/unknown; charset=utf-8')])
[('Content-type', 'application/unknown; charset=utf-8')])[:]
if box.format != "svg":
extension = box.format