summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-02 20:22:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-02 20:22:43 (GMT)
commit2e0d87d07753fa4e145e880ec056846a4f62434a (patch)
treea5dea8c18a585e1df64fb2be91cc3a24f0b998c7 /doc
parent39e6f78e7e0d68f819a0b6ecb73e8f66a743b759 (diff)
downloadtcl-2e0d87d07753fa4e145e880ec056846a4f62434a.zip
tcl-2e0d87d07753fa4e145e880ec056846a4f62434a.tar.gz
tcl-2e0d87d07753fa4e145e880ec056846a4f62434a.tar.bz2
Clarify http::config and http::geturl -headers roles in setting request headers.
Diffstat (limited to 'doc')
-rw-r--r--doc/http.n3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/http.n b/doc/http.n
index 26054cd..cdf9c56 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -210,7 +210,8 @@ proc httpHandlerCallback {socket token} {
.TP
\fB\-headers\fR \fIkeyvaluelist\fR
.
-This option is used to add extra headers to the HTTP request. The
+This option is used to add headers not already specified
+by \fB::http::config\fR to the HTTP request. The
\fIkeyvaluelist\fR argument must be a list with an even number of
elements that alternate between keys and values. The keys become
header field names. Newlines are stripped from the values so the