mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
curl_url_set.3: mention CURLU_PATH_AS_IS
... it has been supported since the URL API was added. Bug: https://curl.se/mail/lib-2021-02/0046.html Closes #6638
This commit is contained in:
parent
6b0f217c65
commit
659b05df6a
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -117,7 +117,11 @@ If set, skips authority checks. The RFC allows individual schemes to omit the
|
|||||||
host part (normally the only mandatory part of the authority), but libcurl
|
host part (normally the only mandatory part of the authority), but libcurl
|
||||||
cannot know whether this is permitted for custom schemes. Specifying the flag
|
cannot know whether this is permitted for custom schemes. Specifying the flag
|
||||||
permits empty authority sections, similar to how file scheme is handled.
|
permits empty authority sections, similar to how file scheme is handled.
|
||||||
|
.IP CURLU_PATH_AS_IS
|
||||||
|
When set for \fBCURLUPART_URL\fP, this makes libcurl skip the normalization of
|
||||||
|
the path. That's the procedure where curl otherwise removes sequences of
|
||||||
|
dot-slash and dot-dot etc. The same option used for transfers is called
|
||||||
|
\fICURLOPT_PATH_AS_IS(3)\fP.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
|
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
|
||||||
fine.
|
fine.
|
||||||
|
Loading…
Reference in New Issue
Block a user