diff options
| author | tv <tv@krebsco.de> | 2020-12-05 12:38:30 +0100 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2020-12-05 12:43:06 +0100 | 
| commit | 0a5554cd488af0958bc9fb01abdcae3644cbdb0f (patch) | |
| tree | a672724b1a89aeb5bb7143c43f34d62f7e7c754e | |
| parent | d60b1b793f3a1635c1fe30aa11b64831fd665b4f (diff) | |
tv elm-package-proxy: add \n to string reponse
| -rw-r--r-- | tv/2configs/elm-packages-proxy.nix | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/elm-packages-proxy.nix b/tv/2configs/elm-packages-proxy.nix index ecced3da2..9493a40b0 100644 --- a/tv/2configs/elm-packages-proxy.nix +++ b/tv/2configs/elm-packages-proxy.nix @@ -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'  | 
