diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-03 22:55:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-03 22:55:48 +0200 |
commit | 8c88e8e623777f2fe06f09b2966928b4ac70ad22 (patch) | |
tree | 7a75e710c8196fc5216cadee177c86d945e79ed6 | |
parent | 5f2a103f099ab4b8d48df0a79d02d69c2b772a02 (diff) |
TODO: "at least N milliseconds between requests" [ci skip]
Suggested-by: dkwolfe4 on github
Closes #3920
-rw-r--r-- | docs/TODO | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -149,7 +149,7 @@ 18.4 simultaneous parallel transfers 18.5 UTF-8 filenames in Content-Disposition 18.6 warning when setting an option - 18.8 offer color-coded HTTP header output + 18.7 at least N milliseconds between requests 18.9 Choose the name of file in braces for complex URLs 18.10 improve how curl works in a windows console window 18.11 Windows: set attribute 'archive' for completed downloads @@ -1015,11 +1015,16 @@ that doesn't exist on the server, just like --ftp-create-dirs. This can be useful to tell when support for a particular feature hasn't been compiled into the library. -18.8 offer color-coded HTTP header output +18.7 at least N milliseconds between requests - By offering different color output on the header name and the header - contents, they could be made more readable and thus help users working on - HTTP services. + Allow curl command lines issue a lot of request against services that limit + users to no more than N requests/second or similar. Could be implemented with + an option asking that at least a certain time has elapsed since the previous + request before the next one will be performed. Example: + + $ curl "https://example.com/api?input=[1-1000]" -d yadayada --after 500 + + See https://github.com/curl/curl/issues/3920 18.9 Choose the name of file in braces for complex URLs |