httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric L. Johnson" <esi-e...@cfl.rr.com>
Subject Re: [users@httpd] Problems with "GET" method
Date Thu, 10 Jun 2004 12:04:28 GMT
Thank you very much for all of your assistance Eugene!!!! I am sure that
that will solve the problem!!!!

Best Regards,
Eric.

----- Original Message -----
From: "Eugene Lee" <list-apache@fsck.net>
To: <users@httpd.apache.org>
Sent: Wednesday, June 09, 2004 5:11 PM
Subject: Re: [users@httpd] Problems with "GET" method


> On Wed, Jun 09, 2004 at 04:38:05PM -0400, Eric L. Johnson wrote:
> :
> : For example, if I perform the following to MSN's website, I obtain the
> : following:
> :
> : telnet www.msn.com 80
> : Trying 207.68.172.234
> : Connected to www.msn.com
> : Escape Character is '^]'
> :
> : GET / HTTP/1.0
> :
> : The results come out as follows:
> [...okay results...]
> :
> : However, if I telnet to the MSN site and perform the following:
> :
> : GET / HTTP/1.1
> :
> : The results come out as follows:
> :
> : HTTP/1.1 400 Bad Request (which is not the desired result)
> [...not okay results...]
>
> : Why do I sometimes have to use "GET / HTTP/1.0 vs. GET / HTTP/1.1" to
> : obtain the desired results on some web pages and not on others.
>
> HTTP/1.1 requires a Host: header.  Try this instead:
>
> telnet www.msn.com 80
> Trying 207.68.172.234
> Connected to www.msn.com
> Escape Character is '^]'
>
> GET / HTTP/1.1
> Host: www.msn.com
>
>
> --
> Eugene Lee
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message