1
Bug reports / Re: Can't connect with telnet
« on: January 07, 2009, 09:36:06 PM »
I'm the original poster.
HTTP is just an application layer protocol, so as long as what you type follows the protocol, you can use it in telnet. For example, if you type:
telnet www.google.com 80
(wait for connection)
GET / HTTP/1.1 (newline)
(newline)
you should see the source code of google's home page. I think the 1.1 standard calls for a Host:... line after the GET... line, but google doesn't seem to care.
HTTP is just an application layer protocol, so as long as what you type follows the protocol, you can use it in telnet. For example, if you type:
telnet www.google.com 80
(wait for connection)
GET / HTTP/1.1 (newline)
(newline)
you should see the source code of google's home page. I think the 1.1 standard calls for a Host:... line after the GET... line, but google doesn't seem to care.