curl/docs/libcurl
Daniel Stenberg 4183b8fe9a
urlapi: provide more detailed return codes
Previously, the return code CURLUE_MALFORMED_INPUT was used for almost
30 different URL format violations. This made it hard for users to
understand why a particular URL was not acceptable. Since the API cannot
point out a specific position within the URL for the problem, this now
instead introduces a number of additional and more fine-grained error
codes to allow the API to return more exactly in what "part" or section
of the URL a problem was detected.

Also bug-fixes curl_url_get() with CURLUPART_ZONEID, which previously
returned CURLUE_OK even if no zoneid existed.

Test cases in 1560 have been adjusted and extended. Tests 1538 and 1559
have been updated.

Updated libcurl-errors.3 and curl_url_strerror() accordingly.

Closes #8049
2021-11-25 08:36:04 +01:00
..
opts mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
.gitignore
ABI.md docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
CMakeLists.txt curl.se: new home 2020-11-04 23:59:47 +01:00
curl_easy_cleanup.3 curl_easy_cleanup.3: remove from multi handle first 2021-11-10 15:01:36 +01:00
curl_easy_duphandle.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_easy_escape.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_easy_getinfo.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_easy_init.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_easy_option_by_id.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_easy_option_by_name.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_easy_option_next.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_easy_pause.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_easy_perform.3 curl_easy_perform.3: add a para about recv and send data 2021-11-08 16:13:42 +01:00
curl_easy_recv.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_easy_reset.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_easy_send.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_easy_setopt.3 mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
curl_easy_strerror.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_easy_unescape.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_easy_upkeep.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_escape.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_formadd.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_formfree.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_formget.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_free.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_getdate.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_getenv.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_global_cleanup.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_global_init_mem.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_global_init.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_global_sslset.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_mime_addpart.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_data_cb.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_mime_data.3 docs: reduce use of "very" 2021-11-01 16:13:12 +01:00
curl_mime_encoder.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_filedata.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_filename.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_free.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_headers.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_init.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_name.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_subparts.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mime_type.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_mprintf.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_multi_add_handle.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_assign.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_cleanup.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_multi_fdset.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_info_read.3 docs: reduce use of "very" 2021-11-01 16:13:12 +01:00
curl_multi_init.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_multi_perform.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_poll.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_multi_remove_handle.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_multi_setopt.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_socket_action.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_multi_socket_all.3
curl_multi_socket.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_multi_strerror.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_multi_timeout.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_multi_wait.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_multi_wakeup.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_share_cleanup.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_share_init.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_share_setopt.3 curl_share_setopt.3: refer to CURLSHOPT_USERDATA(3) properly 2021-11-12 15:27:04 +01:00
curl_share_strerror.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_slist_append.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_slist_free_all.3 man pages: require all to use the same section header order 2021-10-25 12:57:01 +02:00
curl_strequal.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_strnequal.3
curl_unescape.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_url_cleanup.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_url_dup.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_url_get.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_url_set.3 urlapi: make Curl_is_absolute_url always use MAX_SCHEME_LEN 2021-11-25 08:33:48 +01:00
curl_url_strerror.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
curl_url.3 docs: consistent use of "Added in" 2021-10-25 12:57:11 +02:00
curl_version_info.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
curl_version.3 man pages: fix backslash-n in examples 2021-11-05 08:28:29 +01:00
libcurl-easy.3 libcurl-easy.3: language polish 2021-11-08 14:43:13 +01:00
libcurl-env.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-errors.3 urlapi: provide more detailed return codes 2021-11-25 08:36:04 +01:00
libcurl-multi.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-security.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-share.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-thread.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-tutorial.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl-url.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl.3 docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
libcurl.m4 curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.am curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.inc urlapi: add curl_url_strerror() 2021-09-27 08:28:46 +02:00
mksymbolsmanpage.pl mksymbolsmanpage.pl: Fix showing symbol's last used version 2021-08-22 01:12:26 -04:00
symbols-in-versions urlapi: provide more detailed return codes 2021-11-25 08:36:04 +01:00
symbols.pl curl.se: new home 2020-11-04 23:59:47 +01:00