"Jose Roberto B. de A. Monteiro" <[EMAIL PROTECTED]> wrote: > "Kevin Ryde" wrote: >> "Jose Roberto B. de A. Monteiro" <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
