[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.5dev.2

From: Henry Nelson
Subject: Re: lynx-dev lynx2.8.5dev.2
Date: Thu, 16 Aug 2001 12:10:52 +0900 (JST)

> * modify HTLoadHTTP() to omit "Accept-Encoding: gzip" if command-line "-base"
>   option is given.  This makes
>       lynx -base -source
>   work as expected.  Otherwise, will transmit the document gzip'd,
>   and the ensuing logic in HTSaveToFile() would see the mime-type as gzip
>   rather than text/html, and not prepend the base URL (report by Kai Shih
>   <address@hidden>) -TD

Could you expand a little on this?  It's not clear to me what you've done.

If " will transmit the document gzip'd", that's what we'd want it
to do since it saves on bandwidth and would be considerably faster for a
large file.  The way you have it worded above, it sounds as if you have
forced Lynx to not send "Accept-Encoding: gzip" when it should.

Since the problem is that Lynx is "not prepend[ing] the base URL" to the
document, then that is where the logic needs to be corrected, i.e., Lynx
passes the gzip'd content to another application to be decompressed (or
does it internally if linked with lz), and then appends the base URL to
that text/html file.  Even if it means Lynx has to create a temporary file
on the local disk, that would be much faster for those of us at the end
of a slow link.


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]