Performing a HTTP/1.1 query using telnet

Http protocol No Comments »

If you are planning to test a remote or local web server running on 80 port it could be easily done by using telnet command from the linux shell or windows command line. telnet www.yahoo.com 80 GET / HTTP/1.1 Host: www.yahoo.com and hit enter two times and voila

Checking web server header

Http protocol, Web servers No Comments »

You can easily check a web server header using a simple telnet utility. telnet www.yahoo.com 80 HEAD / HTTP/1.0 and hit Enter two times. You will get a header response with the HTTP status code…. HTTP/1.1 200 OK Date: Mon, 31 Jul 2006 05:47:22 GMT P3P: policyref=”http://p3p.yahoo.com/w3c/p3p.xml”, CP=”CAO DSP COR CUR ADM DEV TAI PSA [...]

WP Theme
Entries RSS Comments RSS Log in