mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
docs: disambiguate CURLUPART_HOST is for host name (ie no port)
Closes #4424
This commit is contained in:
parent
d0a7ee3f61
commit
00b65e3779
@ -76,8 +76,9 @@ Scheme cannot be URL decoded on get.
|
||||
.IP CURLUPART_PASSWORD
|
||||
.IP CURLUPART_OPTIONS
|
||||
.IP CURLUPART_HOST
|
||||
If the host part is an IPv6 numeric address, the zoneid will not be part of
|
||||
the extracted host but is provided separately in \fICURLUPART_ZONEID\fP.
|
||||
The host name. If it is an IPv6 numeric address, the zoneid will not be part
|
||||
of it but is provided separately in \fICURLUPART_ZONEID\fP. IPv6 numerical
|
||||
addresses are returned within brackets ([]).
|
||||
.IP CURLUPART_ZONEID
|
||||
If the host name is a numeric IPv6 address, this field might also be set.
|
||||
.IP CURLUPART_PORT
|
||||
|
@ -60,8 +60,9 @@ Scheme cannot be URL decoded on set.
|
||||
.IP CURLUPART_PASSWORD
|
||||
.IP CURLUPART_OPTIONS
|
||||
.IP CURLUPART_HOST
|
||||
The host name can use IDNA. The string must then be encoded as your locale
|
||||
says or UTF-8 (when winidn is used).
|
||||
The host name. If it is IDNA the string must then be encoded as your locale
|
||||
says or UTF-8 (when WinIDN is used). If it is a bracketed IPv6 numeric address
|
||||
it may contain a zone id (or you can use CURLUPART_ZONEID).
|
||||
.IP CURLUPART_ZONEID
|
||||
If the host name is a numeric IPv6 address, this field can also be set.
|
||||
.IP CURLUPART_PORT
|
||||
|
Loading…
Reference in New Issue
Block a user