lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev zlib doesn't work (here) with remote files


From: Klaus Weide
Subject: Re: lynx-dev zlib doesn't work (here) with remote files
Date: Tue, 13 Nov 2001 13:44:31 -0600 (CST)

On Sun, 11 Nov 2001, Thomas Dickey wrote:

> On Sun, Nov 11, 2001 at 12:55:25PM -0200, Frederic L. W. Meunier wrote:
> > Hi. I don't know if it's related, but some time ago I removed
> > compress from my system since gunzip worked with .Z files and
> > I don't intend to create any.

I cannot see how removing "compress" would influence the working
(or not) for gzip'd files in any way.

> > I was using Lynx 2.8.5dev.2 and it downloaded compressed
> > files from Apache + mod_gzip. For some reason it doesn't work
> > anymore with remote files, but it can uncompress local files.

Are the HTTP headers correct, i.e. is there a
  Content-encoding: gzip   (or: x-gzip)
and
  Content-type: text/html  (or: text/plain)
?

> > Today I compiled 2.8.5dev.4 with the following options:
> 
> some operations use zlib, some use external decoders (I'll have to look/see
> if it's easy to fix)

Lynx uses zlib only for reading gzip'd files from disk.
A compressed HTML text from a Web server would normally first be
completely downloaded into a temporary file, and then opened
by lynx (with gzopen(), a zlib function) for reading.

So in that case the external gzip program doesn't come into
play at all.  But it may in other cases, when the gzip'd stuff
is something else than text, something to be passed to a VIEWER
(maybe from mailcap file).  The contents is then first downloaded
into a temporary file, then uncompressed with the external
gzip program, then passed to the viewer program.

> ... 
> > but I don't have compress, zip, telnet, tn3270, and rlogin.
> > Is it OK ?
> 
> yes (you can ignore that aspect)

But of course some actions may unexpectedly fail at run time.

 Klaus


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

reply via email to

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