Steve Mann wrote:
...
> I've also found that some servers want a "Host:" header (I don't
> think this is an HTTP convention), even though you're connected to a
> specific host via the socket open:
>
> GET /prueba.html HTTP/1.0\nHost:www.hostname.com\n\n
...
This is actually part of the HTTP protocol as specified in the RFCs.
The purpose is to allow a single machine host multiple web sites. If
several names resolve to the same IP, the server needs to know which
server you were expecting, hence the Host field.
-Thomee Wright-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/