Remove content-length header as Liquidsoap inserts it itself now.
parent
6ba3431889
commit
ae2e860586
|
@ -57,7 +57,6 @@ def setup_harbor_metadata_api(~metadata_api_port=21338, s) =
|
|||
("access-control-allow-headers","Origin,X-Requested-With,Content-Type,Accept,Authorization,access-control-allow-headers,access-control-allow-origin"),
|
||||
("cache-control", "no-store"),
|
||||
("content-type", cover.mime),
|
||||
("content-length", string_of(string.length(cover))),
|
||||
], data=string_of(cover))
|
||||
else
|
||||
http.response(protocol=protocol, code=404, headers=[
|
||||
|
|
Loading…
Reference in New Issue