tv elm-package-proxy: add \n to string reponse

This commit is contained in:
tv 2020-12-05 12:38:30 +01:00
parent d60b1b793f
commit 0a5554cd48
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ in {
printf "HTTP/1.1 $status_code $status_reason\r\n"
printf 'Connection: close\r\n'
printf 'Content-Length: %d\r\n' ''${#response_body}
printf 'Content-Length: %d\r\n' "$(expr ''${#response_body} + 1)"
printf 'Content-Type: %s\r\n' "$content_type"
printf 'Server: %s\r\n' "$Server"
printf '\r\n'