Skip to content

How to change default http protocol version from 0.9 to 1.1 #708

Description

@InfiniteLife

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions