[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx bug?
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev lynx bug? |
Date: |
Sun, 12 Aug 2001 19:49:50 -0400 |
User-agent: |
Mutt/1.2.5i |
On Sat, Aug 11, 2001 at 01:25:19PM -0400, Kai Shih wrote:
> Hi,
> I'm running Lynx Version 2.8.1rel.2 on a red hat box (though I can
> duplicate the same behavior on my newer Mandrake box, as well).
> I've tried to find some references to this problem on the web, but
> haven't had much success. I'd appreciate any help from the community on
> this one!
> When I add the '-base' option to some source dumps, I get a bunch
> of gibberish characters:
>
> > lynx -source excite.com
> <html>
> <head>
> <title>My Excite Start Page</title>
> <meta http-equiv=refresh content=1200>
> </head>
> etc...
>
> > lynx -base -source excite.com
> (gibberish stuff returned)
>
> Does anyone have suggestions for me? I'd really appreciate it!
this makes it work (suppresses the compression so the later stage sees the
text/html that it expects):
--- HTTP.c.orig Sat Jul 14 22:19:37 2001
+++ HTTP.c Sun Aug 12 19:44:27 2001
@@ -675,7 +675,8 @@
first_Accept = FALSE;
len = 0;
- HTSprintf(&command, "Accept-Encoding: %s, %s%c%c",
+ if (!LYPrependBaseToSource)
+ HTSprintf(&command, "Accept-Encoding: %s, %s%c%c",
"gzip", "compress", CR, LF);
if (language && *language) {
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden