cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP2 not working with CURL

From: Kees Nijssen <kees.nijssen_at_quicknet.nl>
Date: Thu, 1 Jan 2015 15:02:02 +0100

> On 1 jan. 2015, at 13:56, Liran Mimony <reactor.leet_at_gmail.com> wrote:
>
> Hi,
> I'm trying to send a request using curl and --http2.0 but I'm getthing this:
> liran_at_ngHttp2Load:~/$ curl --http2.0 https//nghttp2.org
> curl: (1) Unsupported protocol
>
> I got the latest nghttp2 installed on this server and working

It looks like you need a colon in the URL: https://nghttp2.org. That would allow cURL to get the protocol from the URL

Kees

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-01