File: http@.1

package info (click to toggle)
ucspi-tcp-src 0.88-15
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 1,380 kB
  • ctags: 761
  • sloc: ansic: 6,758; makefile: 854; sh: 312
file content (52 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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)