Skip to content

Instantly share code, notes, and snippets.

@qknight
Created March 9, 2013 15:45
Show Gist options
  • Save qknight/5124571 to your computer and use it in GitHub Desktop.
Save qknight/5124571 to your computer and use it in GitHub Desktop.
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.google.com HTTP/1.1
HTTP/1.1 400 Bad Request
Date: Sat, 09 Mar 2013 15:39:59 GMT
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Encoding
Content-Length: 306
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at www.google.com Port 80</address>
</body></html>
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment