FANDOM


HTTP is a network protocol for serving web pages.

Testing Edit

You can use the following bash script to test HTTP easily:

echo open $1 80
sleep 2
echo "GET $2 HTTP/1.0"
echo "User-Agent: Sysadmin Wiki 1.0 (http://sysadmin.wikia.com)"
echo "Host: $1"
echo
echo
sleep 2

You need to give it arguments for the server to connect to and the URL to retrieve and then you need to pipe the output to telnet, like this:

./httptest google.com / | telnet

See also Edit

External links Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.