Forum Moderators: phranque

Message Too Old, No Replies

Anyone know how to use Telnet here?

How can I view http response headers?

         

midi25

12:17 pm on Aug 29, 2002 (gmt 0)

10+ Year Member



hi i want to use telnet to examine http response headers. Anyone know a free server on the net that is available for this testing purpose. Does W3C have anything?

Thanks

justa

12:12 am on Aug 30, 2002 (gmt 0)

10+ Year Member



Brett put me on to quite a good program a couple of days ago called Proxomitron [proxomitron.org]

You are able to see http response headers with this, might be a good alternative.

amoore

1:11 am on Aug 30, 2002 (gmt 0)

10+ Year Member



If you really want to do it though telnet, try this:

telnet example.com 80
then enter in this text:
HEAD / HTTP/1.0

(notice, that's 'hit return twice after you're done')

Then you get back some headers.
Here's an example:

> telnet webmasterworld.com 80
Trying 64.33.51.156...
Connected to webmasterworld.com.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Fri, 30 Aug 2002 01:09:46 GMT
Server: Apache/1.3.26 (Unix) FrontPage/5.0.2.2510
Cache-Control: max-age=0
X-Powered-By: BestBBS v3.043
Connection: close
Content-Type: text/html

Connection closed by foreign host.

Note, also that there are some problems with doing it like this, but that's the gist.

Mardi_Gras

1:20 am on Aug 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



it would be a lot easier to just use Brett's Server Header Checker [searchengineworld.com].

Response from www.webmasterworld.com:

Status: HTTP/1.1 200 OK
Date: Fri, 30 Aug 2002 01:19:46 GMT
Server: Apache/1.3.26 (Unix) FrontPage/5.0.2.2510
Cache-Control: max-age=0
X-Powered-By: BestBBS v3.043
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

Tapolyai

1:54 am on Aug 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or if you really want to get some decent tool try Sam Spade at samspade.org (online or Win prog). It's a combination of several tools you will take great advantage of it.

One option allows you to "browse" a web site. It will give you all the raw information you ever wanted.