File: http%40.1

package info (click to toggle)
ucspi-tcp 1%3A0.88-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,392 kB
  • sloc: ansic: 5,802; makefile: 2,688; python: 492; sh: 168
file content (68 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (7)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH http@ 1
.SH NAME
http@ \- gets a web page from a remote host.
.SH SYNOPSIS
.B http@
[
.I host
[
.I page
[
.I port
]
]
]
.SH DESCRIPTION
.B http@
connects to
.I port
on
.IR host ,
sends
.IP
GET
.I /page
HTTP/1.0

Host: host
.P
to
.IR host ,
and prints the contents of the response, removing CR from the end of each
line. 

If
.I port
is not supplied,
.B http@
uses TCP port 80 (HTTP). 

If
.I page
is not supplied,
.B http@
asks for / from
.IR host .

If
.I host
is not supplied,
.B http@
connects to the local host. 
.SH SEE ALSO
tcpserver(1),
tcprules(1),
tcprulescheck(1),
argv0(1),
fixcrio(1),
recordio(1),
rblsmtpd(1),
tcpclient(1),
who@(1),
date@(1),
finger@(1),
tcpcat(1),
mconnect(1),
tcp-environ(5)

http://cr.yp.to/ucspi-tcp.html