HTTP/0.9 not allowed

--

use --http0.9 header

Received HTTP/0.9 when not allowed
* Closing connection 0
curl: (1) Received HTTP/0.9 when not allowed


[ec2-user@ip-10-0-0-x ~]$ curl -X POST --http0.9 -vvv 0.0.0.0:8081 --user "login:password"
* Trying 0.0.0.0:8081...
* Connected to 0.0.0.0 (127.0.0.1) port 8081 (#0)
* Server auth using Basic with user 'login'
> POST / HTTP/1.1
> Host: 0.0.0.0:8081
> Authorization: Basic bG9naW46cGFzc3dvcmQ=
> User-Agent: curl/7.87.0
> Accept: */*
>
POST / HTTP/1.1
Host: 0.0.0.0:8081
Authorization: Basic bG9naW46cGFzc3dvcmQ=
User-Agent: curl/7.87.0
Accept: */*

--

--

No responses yet