HTTP request Help!

Could anyone provide me with an example of an actual IE HTTP request?
Here’s the problem: If I use a browser to go to http://www.forodrim.org/daeron/poems.html, I get a page, but if telnet to that same site (port 80, of course) and type
GET /daeron/poems.html HTTP/1.0

I get a 404 Not Found. I thought it might be because I am missing some request fields, but I’ve added as many as I could think of (Connection, Accept, Accept-Language, Host, User-Agent, etc.) nothing seems to work…and it just seems to be that web site, I can get a page just fine with other websites I’ve tried.

Any ideas?

HTTP/1.0 is defined in RFC 1945 which should answer your questions. What you typed looked like it should work to me.

When I was taking a network programming class, I used to have a server that would simply echo commands recieved to the screen. To see what HTTP messages look like, for example, I’d just point a web browser at the server and see what it sent.

I know my request is up to standard with the RFC, and I get back a 404, not a “malformed request”, but somehow IE doesn’t get a 404 when requesting the same page.

This page has a “Check your browser’s headers” link which echos the HTTP header:
http://grc.com/su/earthlink.htm

This page allows you to enter a URL and see what headers it returns. This may not help your situation, but you might see if your server is returning a redirect that you’re not processing when you do it manually.
http://www.rexswain.com/httpview.html

That site has some python scripts that require you to send
Host: http://www.forodrim.org

with the header, otherwise it causes exceptions.

Thanks! Those links helped!