summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/http@.1
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-26 11:00:48 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:37 -0700
commit01ef1d365e5776b130e8b65772a80b6adcb0ed46 (patch)
treef0e7d3e161f82180e834a6368d41b79272ab013a /ucspi-tcp-0.88/http@.1
parent9aa998757a8736cef02fd92050eacbb2a6fb5180 (diff)
files added by IPv6 patch
Diffstat (limited to 'ucspi-tcp-0.88/http@.1')
-rw-r--r--ucspi-tcp-0.88/http@.152
1 files changed, 52 insertions, 0 deletions
diff --git a/ucspi-tcp-0.88/http@.1 b/ucspi-tcp-0.88/http@.1
new file mode 100644
index 0000000..4861b34
--- /dev/null
+++ b/ucspi-tcp-0.88/http@.1
@@ -0,0 +1,52 @@
+.TH http@ 1
+.SH NAME
+http@ \- get a web page from a host through HTTP
+.SH SYNTAX
+.B http@
+[
+.I host
+[
+.I page
+[
+.I port
+]
+]
+]
+.SH DESCRIPTION
+.B http@
+connects to
+.I port
+on
+.IR host ,
+sends
+.B GET /\fIpage
+(with an extra CR)
+to
+.IR host ,
+and prints any data it receives,
+removing CR from the end of each line.
+
+If
+.I port
+is not supplied,
+.B http@
+uses port 80 (HTTP).
+
+If
+.I page
+is not supplied,
+.B http@
+sends
+.B GET /
+to
+.IR host .
+
+If
+.I host
+is not supplied,
+.B http@
+connects to the local host.
+.SH "SEE ALSO"
+addcr(1),
+delcr(1),
+tcpclient(1)