HTTP Requests

Head

[chaks@litec5 chaks]$ telnet csa.iisc.ernet.in 80

Trying 144.16.67.8...

Connected to csa.iisc.ernet.in.

Escape character is '^]'.

HEAD / HTTP/1.0

HTTP/1.1 200 OK

Date: Thu, 09 Oct 2003 06:36:51 GMT

Server: Apache/1.3.20

Last-Modified: Fri, 22 Aug 2003 07:10:33 GMT

ETag: "2f2b2-1068-3f45c1e9"

Accept-Ranges: bytes

Content-Length: 4200

Connection: close

Content-Type: text/html

 

GET and Range

[chaks@litec5 chaks]$ telnet csa.iisc.ernet.in 80

Trying 144.16.67.8...

Connected to csa.iisc.ernet.in.

Escape character is '^]'.

GET / HTTP/1.0

Range:bytes=0-100

HTTP/1.1 206

Partial Content

Date: Thu, 09 Oct 2003 06:38:58 GMT

Server: Apache/1.3.20

Last-Modified: Fri, 22 Aug 2003 07:10:33 GMT

ETag: "2f2b2-1068-3f45c1e9"

Accept-Ranges: bytes

Content-Length: 101

Content-Range: bytes 0-100/4200

Connection: close

Content-Type: text/html

<HTML>

<HEAD>

<TITLE>Homepage of CSA Department, IISc, Bangalore</TITLE>

< P> </HEAD>

</BODY BGCOLOR="#Connection closed by foreign host.

[chaks@litec5 chaks]$