cURL / Mailing Lists / curl-users / Single Mail


why curl do not filter spaces left

From: lazypeople <>
Date: Wed, 16 Oct 2013 15:30:33 +0800

Hi all;
I looked up the faqs and know that the protocol part with a space will
cause a fatal error.But i do not know why?It seems that it is
meaningless for the space left .Why do help users filter at the left
space when dealing with the protocol?

    lazy_at_lazy-Latitude-E5420:~/workspace/github/curl$ curl -V
    curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1
    zlib/ libidn/1.23 librtmp/2.3
    Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3
    pop3s rtmp rtsp smtp smtps telnet tftp
    Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz
    lazy_at_lazy-Latitude-E5420:~/workspace/github/curl$ curl ""
    curl: (1) Protocol http not supported or disabled in libcurl


List admin:
Received on 2013-10-16