summaryrefslogtreecommitdiffstats
path: root/doc/http.n
diff options
context:
space:
mode:
authorgahr@gahr.ch <gahr>2016-03-03 08:34:56 (GMT)
committergahr@gahr.ch <gahr>2016-03-03 08:34:56 (GMT)
commite3b58061d492c8d80e14654308769b7043be9b10 (patch)
tree7e5e124503a4afc925b79b149f6f07805d191b61 /doc/http.n
parentb5b506bfe9d7cb3ed7ce3cf1bb4905f055913044 (diff)
parent5124bc8aa150b1fba393e61541707d9a85571a37 (diff)
downloadtcl-bug_5f71353740.zip
tcl-bug_5f71353740.tar.gz
tcl-bug_5f71353740.tar.bz2
merge trunkbug_5f71353740
Diffstat (limited to 'doc/http.n')
-rw-r--r--doc/http.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/http.n b/doc/http.n
index cdf9c56..80ae044 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -5,7 +5,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH "http" n 2.7 http "Tcl Bundled Packages"
.so man.macros
.BS
@@ -60,7 +60,7 @@ a custom \fBsocket\fR command, via \fB::http::register\fR.
.PP
The \fB::http::geturl\fR procedure does a HTTP transaction.
Its \fIoptions \fR determine whether a GET, POST, or HEAD transaction
-is performed.
+is performed.
The return value of \fB::http::geturl\fR is a token for the transaction.
The value is also the name of an array in the ::http namespace
that contains state information about the transaction. The elements
@@ -90,7 +90,7 @@ flags and values that define the configuration:
\fB\-accept\fR \fImimetypes\fR
.
The Accept header of the request. The default is */*, which means that
-all types of documents are accepted. Otherwise you can supply a
+all types of documents are accepted. Otherwise you can supply a
comma-separated list of mime type patterns that you are
willing to receive. For example,
.QW "image/gif, image/jpeg, text/*" .
@@ -132,7 +132,7 @@ The value of the User-Agent header in the HTTP request. The default is
.QW "\fBTcl http client package 2.7\fR" .
.RE
.TP
-\fB::http::geturl\fR \fIurl\fR ?\fIoptions\fR?
+\fB::http::geturl\fR \fIurl\fR ?\fIoptions\fR?
.
The \fB::http::geturl\fR command is the main procedure in the package.
The \fB\-query\fR option causes a POST operation and
@@ -275,7 +275,7 @@ do the formatting.
\fB\-queryblocksize\fR \fIsize\fR
.
The block size used when posting query data to the URL.
-At most
+At most
\fIsize\fR
bytes are written at once. After each block, a call to the
\fB\-queryprogress\fR