On Tue, 2002-06-04 at 13:08, Chuck Esterbrook wrote: > I just got a WebKit exception report that HTTPRequest.serverURL() > couldn't find an HTTP_HOST environment variable. In fact, all 11 > HTTP_FOOBAR variables were missing, while all other ones were present. > > The only other distinguishing characteristic in the report was that the > REQUEST_METHOD was HEAD, as opposed to the usual GET or POST. > > I then discovered this also happens if I do something like: > > telnet localhost 80 > GET /webkit/MyApp/
Was your HEAD request also HTTP/0.9 like this (i.e., no protocol version specified)? Apache might not specify the host if you don't specify it when you connect. Most requests will look like: GET /webkit/MyApp HTTP/1.1 Host: localhost User-Agent: yada yada (and maybe some more headers) Ian _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
