curl/include/curl
Daniel Stenberg 655d44d139
urlapi: add CURLU_NO_GUESS_SCHEME
Used for extracting:

- when used asking for a scheme, it will return CURLUE_NO_SCHEME if the
  stored information was a guess

- when used asking for a URL, the URL is returned without a scheme, like
  when previously given to the URL parser when it was asked to guess

- as soon as the scheme is set explicitly, it is no longer internally
  marked as guessed

The idea being:

1. allow a user to figure out if a URL's scheme was set as a result of
  guessing

2. extract the URL without a guessed scheme

3. this makes it work similar to how we already deal with port numbers

Extend test 1560 to verify.

Closes #13616
2024-06-01 23:51:42 +02:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl.h build: add more supported attributes to the IAR compiler 2024-05-24 23:45:45 +02:00
curlver.h curlver.h: aiming for 8.9.0 2024-06-01 12:26:20 +02:00
easy.h curl_easy_getinfo: clarify on return data types 2023-05-18 20:46:36 +02:00
header.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
mprintf.h build: add more supported attributes to the IAR compiler 2024-05-24 23:45:45 +02:00
multi.h lib: add curl_multi_waitfds 2024-04-09 16:53:40 +02:00
options.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
stdcheaders.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
system.h system.h: sync mingw CURL_TYPEOF_CURL_SOCKLEN_T with other compilers 2023-12-16 13:15:19 +00:00
typecheck-gcc.h TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
urlapi.h urlapi: add CURLU_NO_GUESS_SCHEME 2024-06-01 23:51:42 +02:00
websockets.h websocket: rename arguments/variables to match docs 2023-07-22 00:31:31 +02:00