http@(1)

http@1

Gets a web page from a remote host.

Usage

http@ [ host [ page [ port ] ] ]

Overview

http@ connects to port on host, sends

GET /page HTTP/1.0

Host: host

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

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

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

If host is not supplied, http@ connects to the local host.

Releases

Unchanged in 9 releases since Debian 5.0 (Lenny).

  1. 5.0–13

From ucspi-tcp 1:0.88-13 in Debian 13 (Trixie). Also shipped by ucspi-tcp-ipv6. Parsed by carta from the page's man source.