mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
curl_url_get.3: clarify about path and query
The current man-page lacks some details regarding the obtained path and query. Closes #7563
This commit is contained in:
parent
1e0b6f705e
commit
116856b9d5
@ -84,7 +84,16 @@ If the host name is a numeric IPv6 address, this field might also be set.
|
||||
.IP CURLUPART_PORT
|
||||
Port cannot be URL decoded on get.
|
||||
.IP CURLUPART_PATH
|
||||
\fIpart\fP will be '/' even if no path is supplied in the URL.
|
||||
.IP CURLUPART_QUERY
|
||||
The initial question mark that denotes the beginning of the query part is
|
||||
a delimiter only.
|
||||
It is not part of the query contents.
|
||||
|
||||
|
||||
A not-present query will lead \fIpart\fP to be set to NULL.
|
||||
A zero-length query will lead \fIpart\fP to be set to a zero-length string.
|
||||
|
||||
The query part will also get pluses converted to space when asked to URL
|
||||
decode on get with the CURLU_URLDECODE bit.
|
||||
.IP CURLUPART_FRAGMENT
|
||||
|
Loading…
Reference in New Issue
Block a user