Make a copy of the header list
This commit is contained in:
parent
699e224bc7
commit
e37e0df899
|
@ -428,7 +428,7 @@ b"""
|
||||||
|
|
||||||
http_headers = box.formats.http_headers.get(
|
http_headers = box.formats.http_headers.get(
|
||||||
box.format,
|
box.format,
|
||||||
[('Content-type', 'application/unknown; charset=utf-8')])
|
[('Content-type', 'application/unknown; charset=utf-8')])[:]
|
||||||
|
|
||||||
if box.format != "svg":
|
if box.format != "svg":
|
||||||
extension = box.format
|
extension = box.format
|
||||||
|
|
Loading…
Reference in New Issue