curl-curl/include/curl
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
..
.gitignore includes: remove curl/curlbuild.h and curl/curlrules.h 2017-06-14 11:07:33 +02:00
curl.h mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
curlver.h RELEASE-NOTES: synced 2021-11-15 10:44:29 +01:00
easy.h 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
mprintf.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
multi.h curl.se: new home 2020-11-04 23:59:47 +01:00
options.h curl.se: new home 2020-11-04 23:59:47 +01:00
stdcheaders.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
system.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
typecheck-gcc.h typecheck-gcc.h: add CURLOPT_PREREQDATA awareness 2021-09-30 09:00:37 +02:00
urlapi.h urlapi: provide more detailed return codes 2021-11-25 08:36:04 +01:00