Re: d-i: http problem.
On Thu, Jul 08, 2004 at 08:52:58AM +0800, John wrote:
> I believe the request should look more like this one:
> 1089244466.030 5705 192.168.9.114 TCP_MISS/200 6909 GET
> http://weather.noaa.gov/cgi-bin/mgetmetar.pl? - DIRECT/205.156.51.200
> text/html
That looks more like an explicit HTTP proxy request, which would be very
unusual in this context. The Host: header in HTTP requests is not the
same as putting the hostname in the GET line, and the latter is not
required.
I suggest you use tcpdump on the proxy server to find out what HTTP data
stream the installer is actually sending. We use wget, which I know to
be an HTTP/1.1 client that's happy with named virtual hosts.
Misconfigured transparent proxies have been known to eat the Host:
header.
> d-i really should be talking http 1.1: this is 0.9 syntax.
No, it's not ... the differences between HTTP/0.9 and HTTP/1.0 are
substantial and do not include the Host: header. Host: was a Netscape
extension to HTTP/1.0 that was eventually incorporated into HTTP/1.1.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: