From 162f58c53ce51375f444e9870246206eb9af650f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Aug 2005 20:56:12 +0000 Subject: [PATCH] -H needs no CRLF or similar added --- docs/curl.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/curl.1 b/docs/curl.1 index ba7932f..4625cd6 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -21,7 +21,7 @@ .\" * $Id$ .\" ************************************************************************** .\" -.TH curl 1 "24 Jun 2005" "Curl 7.14.1" "Curl Manual" +.TH curl 1 "12 Aug 2005" "Curl 7.14.1" "Curl Manual" .SH NAME curl \- transfer a URL .SH SYNOPSIS @@ -421,6 +421,11 @@ set headers without knowing perfectly well what you're doing. Replacing an internal header with one without content on the right side of the colon will prevent that header from appearing. +curl will make sure that each header you add/replace get sent with the proper +end of line marker, you should thus \fBnot\fP add that as a part of the header +content: do not add newlines or carriage returns they will only mess things up +for you. + See also the \fI-A/--user-agent\fP and \fI-e/--referer\fP options. This option can be used multiple times to add/replace/remove multiple headers. -- 2.7.4