[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] should lynx allow display of images without suffix? (only
Re: [Lynx-dev] should lynx allow display of images without suffix? (only if typed correctly)
Mon, 11 Jun 2007 18:37:34 +0200
=- PBM . wrote on Mon 11.Jun'07 at 16:56:45 +0200 -=
> What is standard?
You gave the answer yourself:
> Currently in lynx, it is implemented through mime types, and mime
> types are often broken from servers via head request.
So it's not lynx broken but the servers.
> So there need be a way where links inside <img /> would be
> downloaded and viewed with XLOAD_IMAGE without look at mime types
> but that have various implications.
But ... you don't know what viewer to call because you don't know
the content-type: not all viewers know all types.
As a "catch-all" solution you could make your own handler which
accepts all types, saves in tmp-file, "file tmp-file" and then act
based on the result. Ugly, but works.
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.