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:23:17 +0100

> On 1 jan. 2015, at 15:07, Liran Mimony <reactor.leet_at_gmail.com> wrote:
>
> colon?
> How I do that?

It's the ":" character between the protocol (or actually scheme) part in the url and the two slashes "//".

It was missing in your original sample.

So, I assume you need to use https://nghttp2.org, instead of https//nghttp2.org

Kees

> On Thu, Jan 1, 2015 at 4:02 PM, Kees Nijssen <kees.nijssen_at_quicknet.nl> wrote:
>
>> 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
>

-------------------------------------------------------------------
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