RE: HTTP 1.1

2002-04-12 Thread Boaz Yahav

So basically I only need to make this change and recompile?
I wish this was a switch :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 12:58 PM
Cc: Boaz Yahav; [EMAIL PROTECTED]
Subject: Re: HTTP 1.1



On 11/04/2002 18:26:15 hniksic wrote:

Boaz Yahav [EMAIL PROTECTED] writes:

 Is there any way to make Wget use HTTP/1.1 ?

Unfortunately, no.

Sure it can be made to use HTTP 1.1

--- http.c.orig   Wed Jan 30 14:10:42 2002
+++ http.c  Fri Apr 12 11:56:22 2002
@@ -838,7 +838,7 @@
  + 64);
   /* Construct the request.  */
   sprintf (request, \
-%s %s HTTP/1.0\r\n\
+%s %s HTTP/1.1\r\n\
 User-Agent: %s\r\n\
 Host: %s%s%s%s\r\n\
 Accept: %s\r\n\




:-)

--
Csaba Ráduly, Software Engineer   Sophos
Anti-Virus
email: [EMAIL PROTECTED]
http://www.sophos.com
US Support: +1 888 SOPHOS 9 UK Support: +44 1235
559933




HTTP 1.1

2002-02-24 Thread Boaz Yahav



Hi

Is there any way to make Wget 
use HTTP/1.1 ?

Thanks

berber