I installed prometheus-cpp following instructions from Ubuntu apt. Seems like it only supports HTTP 0.9, because
curl http://127.0.0.1:9090/metrics
returns Received HTTP/0.9 when not allowed
and
curl --http0.9 http://127.0.0.1:9090/metrics works. Is there a way to use HTTP 1.1 protocol?