smoother wording

This commit is contained in:
Daniel Stenberg 2026-08-07 12:02:26 +02:00
parent 07457549a3
commit 366227d248
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -224,10 +224,9 @@ host part (normally the only mandatory part of the authority), but libcurl
cannot know whether this is permitted for custom schemes. Specifying the flag
permits empty authority sections, similar to how file scheme is handled.
This option also makes libcurl accept URLs with known schemes to be provided
and parsed successfully even without hostnames. URLs using `https://`,
`ftp://` etc are otherwise by default not allowed to, and instead cause parse
errors without this flag set.
This option also makes libcurl accept and parse URLs with known schemes even
when they have no hostnames. URLs such as `https://` and `ftp://` otherwise
cause parse errors by default.
## CURLU_PATH_AS_IS