Summary: curl command on Home Assistant appends # character at end of response
Running: Home Assistant 2021.12.5 on Rasberry Pi 4
curl 7.80.0 (aarch64-alpine-linux-musl) libcurl/7.80.0 OpenSSL/1.1.1l zlib/1.2.11 brotli/1.0.9 nghttp2/1.46.0
Release-Date: 2021-11-10
Test of the curl command from the Docker shell
/usr/bin/curl --include -H Content-Type:application/json -d "@config/jsonPayloads/garage_status.json" https://rpi-11/clcover
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 3
Server: Werkzeug/1.0.1 Python/3.9.2
Date: Sun, 02 Jan 2022 22:47:59 GMT
100#
Error: Response includes the extraneous octothorpe/hash/pound character #
Same test using Home Assistant 2021.3.0.dev20210130 on Raspberry Pi 3 (curl 7.64) does not append the # character:
/usr/bin/curl --include -H Content-Type:application/json -d "@config/jsonPayloads/garage_status.json" https://rpi-11/clcover
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 3
Server: Werkzeug/1.0.1 Python/3.9.2
Date: Sun, 02 Jan 2022 22:54:39 GMT
100
Additionnal datum: Same command on Ubuntu (curl version 7.68) does not append the extra character.
Observe that the headers in both responses show: Content-Length: 3
So it seems that the problem lies in curl 7.80 appending the extra # character
Any suggestions/guidance would be appreciated.