Skip to content

Instantly share code, notes, and snippets.

@savonarola
Created December 7, 2009 11:05
Show Gist options
  • Save savonarola/250766 to your computer and use it in GitHub Desktop.
Save savonarola/250766 to your computer and use it in GitHub Desktop.
13:58 savonarola@kub:~>telnet localhost 33333
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /wiki/страница HTTP/1.1
Host: ru.wikipedia.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
Accept: text/html
Connection: close
Content-Length: 10
1234567890
HTTP/1.1 200 OK
Content-Length: 11
Connection: close
Content-Type: text/html
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache
Request: {[{http_request,'POST',
{abs_path,[47,119,105,107,105,47,-47,-127,-47,-126,
-47,-128,-48,-80,-48,-67,-48,-72,-47,-122,
-48,-80]},
{1,1}},
{http_header,14,'Host',undefined,"ru.wikipedia.org"},
{http_header,24,'User-Agent',undefined,
"Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5"},
{http_header,8,'Accept',undefined,"text/html"},
{http_header,2,'Connection',undefined,"close"},
{http_header,38,'Content-Length',undefined,"10"}],
<<"1234567890">>}
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment