Skip to content

Commit 8c88e8e

Browse files
committed
TODO: "at least N milliseconds between requests" [ci skip]
Suggested-by: dkwolfe4 on github Closes curl#3920
1 parent 5f2a103 commit 8c88e8e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/TODO

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
18.4 simultaneous parallel transfers
150150
18.5 UTF-8 filenames in Content-Disposition
151151
18.6 warning when setting an option
152-
18.8 offer color-coded HTTP header output
152+
18.7 at least N milliseconds between requests
153153
18.9 Choose the name of file in braces for complex URLs
154154
18.10 improve how curl works in a windows console window
155155
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.
10151015
This can be useful to tell when support for a particular feature hasn't been
10161016
compiled into the library.
10171017

1018-
18.8 offer color-coded HTTP header output
1018+
18.7 at least N milliseconds between requests
10191019

1020-
By offering different color output on the header name and the header
1021-
contents, they could be made more readable and thus help users working on
1022-
HTTP services.
1020+
Allow curl command lines issue a lot of request against services that limit
1021+
users to no more than N requests/second or similar. Could be implemented with
1022+
an option asking that at least a certain time has elapsed since the previous
1023+
request before the next one will be performed. Example:
1024+
1025+
$ curl "https://example.com/api?input=[1-1000]" -d yadayada --after 500
1026+
1027+
See https://github.com/curl/curl/issues/3920
10231028

10241029
18.9 Choose the name of file in braces for complex URLs
10251030

0 commit comments

Comments
 (0)