curl-users
why curl do not filter spaces left
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/1.2.3.4 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
TLS-SRP
lazy_at_lazy-Latitude-E5420:~/workspace/github/curl$ curl "
http://www.baidu.com"
curl: (1) Protocol http not supported or disabled in libcurl
Regards,
Mr.Lazy
-------------------------------------------------------------------
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 2013-10-16