curl-users
Re: CURL HTTP2.0
Date: Wed, 8 Apr 2015 10:40:31 -0400
It seems that if you look at the version information you sent you 'll see
that libcurl was not built to support http2.
the man page specifies this:
-http2 (HTTP) Tells curl to issue its requests using HTTP 2. This requires
that the under-
lying libcurl was built to support it. (Added in 7.33.0)
On Wed, Apr 8, 2015 at 8:03 AM, Leon Proskurov <leopro_at_gmail.com> wrote:
> Hello cURL community,
>
> I am a simple cURL user. I am using the command line in windows 7 to run
> cURL commands.
> I can't execute cURL with --http2 flag.
> I have downloaded the curl-7.41.0.zip file and extracted the files
> (curl.exe, libssh2.dll)
>
> *curl.exe -V:*
> *curl 7.41.0 (i386-pc-win32) libcurl/7.41.0 OpenSSL/1.0.1j zlib/1.2.8
> libssh2/1.4.3*
> *Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3
> pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp*
> *Features: AsynchDNS IPv6 Largefile NTLM SSL libz*
>
> when i try to run the HTTP2 type of flow, the cURL return me an error of:
> curl.exe -G --http2 http://www.cnn.com
> curl: (1) Unsupported protocol
>
> Please advice what am i missing?
> p.s. i can see in the supported protocols that http2 is absent
>
> Regards,
> Leon
>
> -------------------------------------------------------------------
> 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
>
>
-- MSc. Charles M. Romestant F. Merci de penser à l'environnement avant d'imprimer cet e-mail Please think about the environment before you print this e-mail Por favor piense en el medio ambiente antes de imprimir este e-mail
-------------------------------------------------------------------
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-04-08