mirror of
https://github.com/mirror/wget.git
synced 2025-02-06 17:50:38 +08:00
main.c: update the --method description
The first line of a HTTP request is not a header, it is the start-line, which for requests is called the request-line. See http://tools.ietf.org/html/rfc7230#section-3.1
This commit is contained in:
parent
cae32d41c1
commit
3d7797c46e
@ -1,3 +1,7 @@
|
||||
2014-07-21 Daniel Stenberg <daniel@haxx.se>
|
||||
|
||||
* main.c (print_help): HTTP Method is a part of the Request not Header
|
||||
|
||||
2014-07-21 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* cookies.c (check_domain_match): Fix a potential memory leak when checking
|
||||
|
@ -614,7 +614,7 @@ HTTP options:\n"),
|
||||
N_("\
|
||||
--post-file=FILE use the POST method; send contents of FILE.\n"),
|
||||
N_("\
|
||||
--method=HTTPMethod use method \"HTTPMethod\" in the header.\n"),
|
||||
--method=HTTPMethod use method \"HTTPMethod\" in the request.\n"),
|
||||
N_("\
|
||||
--body-data=STRING Send STRING as data. --method MUST be set.\n"),
|
||||
N_("\
|
||||
|
Loading…
Reference in New Issue
Block a user