busybox/networking
Ron Yorston ed9aa89269 wget: implement --post-file
Add the --post-file option to send form data from a file.  As with
--post-data it's up to the user to ensure that the data is encoded
as appropriate:  all wget does is stuff the provided data into
the request.

The --post-data and --post-file options are mutually exclusive and
only one instance of either may be given.

Additionally:

- update the usage message to include missing details of the --post-data
  and --header options;

- free POST data if FEATURE_CLEAN_UP is enabled.

function                                             old     new   delta
packed_usage                                       34158   34214     +56
wget_main                                           2762    2805     +43
.rodata                                            99225   99240     +15
static.wget_longopts                                 266     278     +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 126/0)             Total: 126 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-01 14:55:18 +02:00
..
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2021-06-16 14:24:27 +02:00
2020-12-13 19:18:28 +01:00
2021-09-10 10:07:42 +02:00
2020-12-13 19:04:19 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2021-06-13 03:51:55 +02:00
2020-11-29 11:37:34 +01:00
2021-06-03 16:23:52 +02:00
2021-04-24 11:54:50 +02:00
2021-01-04 13:28:28 +01:00
2020-12-19 00:07:13 +01:00
2020-11-29 11:37:34 +01:00
2018-12-28 03:20:17 +01:00
2020-12-29 16:53:11 +01:00
2020-12-15 18:47:25 +01:00
2021-04-28 12:19:24 +02:00
2021-04-27 00:40:40 +02:00
2019-01-01 15:40:43 +01:00
2021-04-27 00:40:40 +02:00
2018-11-25 16:17:26 +01:00
2021-10-01 13:51:39 +02:00
2020-12-18 04:12:51 +01:00
2021-06-13 01:08:48 +02:00
2021-10-01 14:55:18 +02:00
2020-08-13 17:12:56 +02:00