[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: virtual host support
From: |
Paul Jarc |
Subject: |
Re: virtual host support |
Date: |
Mon, 10 Mar 2003 12:49:53 -0500 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i686-pc-linux-gnu) |
"Jose Roberto B. de A. Monteiro" <address@hidden> wrote:
> "Kevin Ryde" wrote:
>> "Jose Roberto B. de A. Monteiro" <address@hidden> writes:
>>> - (request (format #f "~A ~A ~A" method path http:version))
>>> + (request (format #f "~A ~A ~A\r\nHost: ~A" method path http:version
>>> (url:host url)))
>>
>> Perhaps the url:port should be included there too, at least if it's
>> not 80.
I agree. I'd include it even if it is 80, for the sake of code
simplicity.
> The port was sent to make the connection, then it makes the request
> "GET ...".
Depending on how the server is configured, it might be convenient for
it to have the port in the Host: field as well. It's better to send
information that is not needed than to not send information that is
needed.
paul