aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_URL.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-06-19 15:11:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-06-19 15:11:49 +0200
commitfede49532d11fc44a7c8cee77f2986629c81c3bb (patch)
tree441c3a229bd22ed8938dfa21d7a6bce411f23c0b /docs/libcurl/opts/CURLOPT_URL.3
parent49078ae363311e1e76a26ef30ad52789f2eb77fc (diff)
CURLOPT_URL: move up the text from "Notes"
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_URL.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_URL.317
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/libcurl/opts/CURLOPT_URL.3 b/docs/libcurl/opts/CURLOPT_URL.3
index b465e2ed4..78741168c 100644
--- a/docs/libcurl/opts/CURLOPT_URL.3
+++ b/docs/libcurl/opts/CURLOPT_URL.3
@@ -51,6 +51,14 @@ from the host name, not be supported by libcurl then
call them. Use \fIcurl_version_info(3)\fP for detailed information of which
protocols are supported by the build of libcurl you are using.
+\fICURLOPT_PROTOCOLS(3)\fP can be used to limit what protocols libcurl will
+use for this transfer, independent of what libcurl has been compiled to
+support. That may be useful if you accept the URL from an external source and
+want to limit the accessibility.
+
+\fICURLOPT_URL(3)\fP is the only option that \fBmust\fP be set before a
+transfer is started.
+
The host part of the URL contains the address of the server that you want to
connect to. This can be the fully qualified domain name of the server, the
local network name of the machine on your network or the IP address of the
@@ -257,15 +265,6 @@ user wants to pass in a '#' (hash) character it will be treated as a fragment
and get cut off by libcurl if provided literally. You will instead have to
escape it by providing it as backslash and its ASCII value in hexadecimal:
"\\23".
-
-.IP NOTES
-\fICURLOPT_URL(3)\fP is the only option that \fBmust\fP be set before a
-transfer is started.
-
-\fICURLOPT_PROTOCOLS(3)\fP can be used to limit what protocols libcurl will
-use for this transfer, independent of what libcurl has been compiled to
-support. That may be useful if you accept the URL from an external source and
-want to limit the accessibility.
.SH DEFAULT
There is no default URL. If this option isn't set, no transfer can be
performed.