From 3d7797c46e2f060d84566b530b29cb498bc940c4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Jul 2014 14:10:18 +0200 Subject: [PATCH] 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 --- src/ChangeLog | 4 ++++ src/main.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e668583f..38d0ce37 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-07-21 Daniel Stenberg + + * main.c (print_help): HTTP Method is a part of the Request not Header + 2014-07-21 Darshit Shah * cookies.c (check_domain_match): Fix a potential memory leak when checking diff --git a/src/main.c b/src/main.c index 70930ddf..1ada8221 100644 --- a/src/main.c +++ b/src/main.c @@ -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_("\