1
0
Fork 0

Remove content-length header as Liquidsoap inserts it itself now.

liquidsoap-2.2
Icedream 2022-09-11 15:51:16 +02:00
parent 6ba3431889
commit ae2e860586
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 0 additions and 1 deletions

View File

@ -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=[