[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Re: media types
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Re: media types |
Date: |
Sat, 27 Dec 2008 12:45:45 -0500 (EST) |
On Sat, 27 Dec 2008, Thorsten Glaser wrote:
Thomas Dickey dixit:
someone reported a problem with a site that was sending gzip where it
stated deflate - seems that was about a year ago.
Couldn’t that be special-cased? Check if a stream advertised as “deflate”
not easily: we'd have to save the data that wasn't decoded somewhere
(since we're not even looking at the header) and try different
decompression algorithms on it.
I only knew about that because I captured the file's contents and
experimented with it.
starts with 1F 08, handle it as gzip instead. Maybe warn the user, but
that warning would be at least as annoying as the google invalid cookies…
1F-08 ? (I'm looking at a gzip'd file beginning 1F-8B).
I do have a to-do item for diffstat to try to guess the decompression
type from piped input...
I could try to dig out the site unless you have it handy, then hack some
code to do that, if you desire.
bye,
//mirabilos
--
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt
_______________________________________________
Lynx-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lynx-dev
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- screenshot with rendering Was:Re: [Lynx-dev] No rendering of http://www.google.de, (continued)
- Re: [Lynx-dev] No rendering of http://www.google.de, Thomas Dickey, 2008/12/26
- Re: [Lynx-dev] No rendering of http://www.google.de, Elimar Riesebieter, 2008/12/26
- Re: [Lynx-dev] No rendering of http://www.google.de, Thomas Dickey, 2008/12/26
- Re: [Lynx-dev] No rendering of http://www.google.de, Elimar Riesebieter, 2008/12/27
- Re: [Lynx-dev] No rendering of http://www.google.de, Thomas Dickey, 2008/12/27
- media types (was Re: [Lynx-dev] No rendering of http://www.google.de), Thorsten Glaser, 2008/12/27
- Re: media types (was Re: [Lynx-dev] No rendering of http://www.google.de), Thomas Dickey, 2008/12/27
- [Lynx-dev] Re: media types, Thorsten Glaser, 2008/12/27
- Re: [Lynx-dev] Re: media types,
Thomas Dickey <=
- Re: [Lynx-dev] Re: media types, Thorsten Glaser, 2008/12/27
- Re: [Lynx-dev] Re: media types, Thomas Dickey, 2008/12/28