mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
TODO: remove deprecated form API items.
This commit is contained in:
parent
525251398f
commit
3ac14ab39a
46
docs/TODO
46
docs/TODO
@ -27,7 +27,6 @@
|
|||||||
1.9 Cache negative name resolves
|
1.9 Cache negative name resolves
|
||||||
1.10 auto-detect proxy
|
1.10 auto-detect proxy
|
||||||
1.11 minimize dependencies with dynamically loaded modules
|
1.11 minimize dependencies with dynamically loaded modules
|
||||||
1.12 have form functions use CURL handle argument
|
|
||||||
1.14 Typesafe curl_easy_setopt()
|
1.14 Typesafe curl_easy_setopt()
|
||||||
1.15 Monitor connections in the connection pool
|
1.15 Monitor connections in the connection pool
|
||||||
1.16 Try to URL encode given URL
|
1.16 Try to URL encode given URL
|
||||||
@ -67,9 +66,7 @@
|
|||||||
5.6 Refuse "downgrade" redirects
|
5.6 Refuse "downgrade" redirects
|
||||||
5.7 Brotli compression
|
5.7 Brotli compression
|
||||||
5.8 QUIC
|
5.8 QUIC
|
||||||
5.9 Improve formpost API
|
|
||||||
5.10 Leave secure cookies alone
|
5.10 Leave secure cookies alone
|
||||||
5.11 Chunked transfer multipart formpost
|
|
||||||
|
|
||||||
6. TELNET
|
6. TELNET
|
||||||
6.1 ditch stdin
|
6.1 ditch stdin
|
||||||
@ -139,7 +136,6 @@
|
|||||||
18.2 glob posts
|
18.2 glob posts
|
||||||
18.3 prevent file overwriting
|
18.3 prevent file overwriting
|
||||||
18.4 simultaneous parallel transfers
|
18.4 simultaneous parallel transfers
|
||||||
18.5 provide formpost headers
|
|
||||||
18.6 warning when setting an option
|
18.6 warning when setting an option
|
||||||
18.8 offer color-coded HTTP header output
|
18.8 offer color-coded HTTP header output
|
||||||
18.9 Choose the name of file in braces for complex URLs
|
18.9 Choose the name of file in braces for complex URLs
|
||||||
@ -276,18 +272,6 @@
|
|||||||
app/invoke/used protocols would be necessary to load. See
|
app/invoke/used protocols would be necessary to load. See
|
||||||
https://github.com/curl/curl/issues/349
|
https://github.com/curl/curl/issues/349
|
||||||
|
|
||||||
1.12 have form functions use CURL handle argument
|
|
||||||
|
|
||||||
curl_formadd() and curl_formget() both currently have no CURL handle
|
|
||||||
argument, but both can use a callback that is set in the easy handle, and
|
|
||||||
thus curl_formget() with callback cannot function without first having
|
|
||||||
curl_easy_perform() (or similar) called - which is hard to grasp and a design
|
|
||||||
mistake.
|
|
||||||
|
|
||||||
The curl_formadd() design can probably also be reconsidered to make it easier
|
|
||||||
to use and less error-prone. Probably easiest by splitting it into several
|
|
||||||
function calls.
|
|
||||||
|
|
||||||
1.14 Typesafe curl_easy_setopt()
|
1.14 Typesafe curl_easy_setopt()
|
||||||
|
|
||||||
One of the most common problems in libcurl using applications is the lack of
|
One of the most common problems in libcurl using applications is the lack of
|
||||||
@ -546,13 +530,6 @@ This is not detailed in any FTP specification.
|
|||||||
implemented. This, to allow other projects to benefit from the work and to
|
implemented. This, to allow other projects to benefit from the work and to
|
||||||
thus broaden the interest and chance of others to participate.
|
thus broaden the interest and chance of others to participate.
|
||||||
|
|
||||||
5.9 Improve formpost API
|
|
||||||
|
|
||||||
Revamp the formpost API and making something that is easier to use and
|
|
||||||
understand:
|
|
||||||
|
|
||||||
https://github.com/curl/curl/wiki/formpost-API-redesigned
|
|
||||||
|
|
||||||
5.10 Leave secure cookies alone
|
5.10 Leave secure cookies alone
|
||||||
|
|
||||||
Non-secure origins (HTTP sites) should not be allowed to set or modify
|
Non-secure origins (HTTP sites) should not be allowed to set or modify
|
||||||
@ -560,15 +537,6 @@ This is not detailed in any FTP specification.
|
|||||||
|
|
||||||
https://tools.ietf.org/html/draft-ietf-httpbis-cookie-alone-01
|
https://tools.ietf.org/html/draft-ietf-httpbis-cookie-alone-01
|
||||||
|
|
||||||
5.11 Chunked transfer multipart formpost
|
|
||||||
|
|
||||||
For a case where the file is being made during the upload is progressing
|
|
||||||
(like passed on stdin to the curl tool), we cannot know the size before-hand
|
|
||||||
and we rather not read the entire thing into memory before it can start the
|
|
||||||
upload.
|
|
||||||
|
|
||||||
https://github.com/curl/curl/issues/1139
|
|
||||||
|
|
||||||
|
|
||||||
6. TELNET
|
6. TELNET
|
||||||
|
|
||||||
@ -911,20 +879,6 @@ that doesn't exist on the server, just like --ftp-create-dirs.
|
|||||||
Using the multi interface would also allow properly using parallel transfers
|
Using the multi interface would also allow properly using parallel transfers
|
||||||
with HTTP/2 and supporting HTTP/2 server push from the command line.
|
with HTTP/2 and supporting HTTP/2 server push from the command line.
|
||||||
|
|
||||||
18.5 provide formpost headers
|
|
||||||
|
|
||||||
Extending the capabilities of the multipart formposting. How about leaving
|
|
||||||
the ';type=foo' syntax as it is and adding an extra tag (headers) which
|
|
||||||
works like this: curl -F "coolfiles=@fil1.txt;headers=@fil1.hdr" where
|
|
||||||
fil1.hdr contains extra headers like
|
|
||||||
|
|
||||||
Content-Type: text/plain; charset=KOI8-R"
|
|
||||||
Content-Transfer-Encoding: base64
|
|
||||||
X-User-Comment: Please don't use browser specific HTML code
|
|
||||||
|
|
||||||
which should overwrite the program reasonable defaults (plain/text,
|
|
||||||
8bit...)
|
|
||||||
|
|
||||||
18.6 warning when setting an option
|
18.6 warning when setting an option
|
||||||
|
|
||||||
Display a warning when libcurl returns an error when setting an option.
|
Display a warning when libcurl returns an error when setting an option.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user