From 62960f8a42c66c6a014e245291648b42fd4a17bb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Aug 2009 18:09:42 +0000 Subject: I think it's worth clarifying that curl DOES NOT validate a given URL more than what's absolutely necessary: curl will do its best to use what you pass to it as a URL. It is not trying to validate it as a syntactically correct URL by any means but is instead VERY liberal with what it accepts. --- docs/curl.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/curl.1 b/docs/curl.1 index ddf9fe654..fcda7120b 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -75,6 +75,10 @@ protocol you might want. It will then default to HTTP but try other protocols based on often-used host name prefixes. For example, for host names starting with "ftp." curl will assume you want to speak FTP. +curl will do its best to use what you pass to it as a URL. It is not trying to +validate it as a syntactically correct URL by any means but is instead +\fBvery\fP liberal with what it accepts. + Curl will attempt to re-use connections for multiple file transfers, so that getting many files from the same server will not do multiple connects / handshakes. This improves speed. Of course this is only done on files -- cgit v1.2.3