diff options
Diffstat (limited to 'http-server.sh')
-rw-r--r-- | http-server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-server.sh b/http-server.sh index 3e47a4e..46633c7 100644 --- a/http-server.sh +++ b/http-server.sh @@ -29,7 +29,7 @@ while true; do # Without Content-Length header, connection will not close properly len="${#content}" - response="HTTP/1.1 200 OK\nContent-Length: $len\nContent-Type: plain/text\n\n$content" + response="HTTP/1.1 200 OK\nContent-Length: $len\n\n$content" elif [ -z "$line" ]; then # end of request # send response once all of the request has been read printf "%b" "$response" > "$outfifo" |