Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sometimes just plain telnet. It wasn't pretty, but it worked:

    $ telnet 80
    GET /
It should be noted that the above isn't a strict HTTP request header, it's missing quite a lot of detail, but it works as an example.


Add two newlines and that is a perfectly valid HTTP/0.9 request.


Pre curl/wget that was probably sufficient.

HTTP/1.1 wasn't around until 1996 so back then Host: headers weren't even "optional". They simply didn't exist yet.


That's what HTTP/0.9 requests look like!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: