Skip to content

Instantly share code, notes, and snippets.

@ThisIsMissEm
Created July 7, 2010 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThisIsMissEm/7e4459073a89b4ed4ea9 to your computer and use it in GitHub Desktop.
Save ThisIsMissEm/7e4459073a89b4ed4ea9 to your computer and use it in GitHub Desktop.
localhost 80~/: telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /demo HTTP/1.1
Host: example.com
Connection: Upgrade
Sec-WebSocket-Key2: 12998 5 Y3 1 .P00
Sec-WebSocket-Protocol: sample
Upgrade: WebSocket
Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5
Origin: http://example.com
^n:ds[4U
HTTP/1.1 404 Not Found
Server: nginx/0.7.67
Date: Wed, 07 Jul 2010 02:38:53 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/0.7.67</center>
</body>
</html>
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/0.7.67</center>
</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