[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] mime_types [PATCH]
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] mime_types [PATCH] |
Date: |
Sun, 9 May 2004 15:02:10 -0400 (EDT) |
On Sun, 9 May 2004 address@hidden wrote:
> In a recent note, Thomas Dickey said:
>
> > Date: Fri, 7 May 2004 19:01:32 -0400 (EDT)
> >
> > On Fri, 7 May 2004 address@hidden wrote:
> >
> > > How does Lynx select the suffix of the workfile?
> >
> > There are only a few choices (".bin", ".txt" and ".html" or ".htm").
> > That's done in src/HTFWriter.c in HTSaveAndExecute(), based on the
> > mime type. Reading and comparing with the mailcap on this machine,
> > it looks as if it might be useful to use the nametemplate value if
> > it exists (making a note to look into that...).
> >
> Well, I took the lazy route. Experimenting, I observed that HTFileSuffix()
> resolves to a useful suffix if it gets a chance, so I just let
> Content-type: application/pdf fall through to there.
I see (I think). It's sufficient to ensure that we don't pass a ".html"
suffix in this case.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- Re: [Lynx-dev] Re: failed to visit google, (continued)
- Re: [Lynx-dev] Re: failed to visit google, Serge Munhoven, 2004/05/07
- Re: [Lynx-dev] Re: failed to visit google, Larry W. Virden, 2004/05/07
- Re: [Lynx-dev] Re: failed to visit google, Larry W. Virden, 2004/05/07
- [Lynx-dev] Cookie memory (was mime_types (was: ... google )), Walter Ian Kaye, 2004/05/07
- Re: [Lynx-dev] Cookie memory (was mime_types (was: ... google )), Thomas Dickey, 2004/05/08
Re: [Lynx-dev] Re: failed to visit google, Frédéric L . W . Meunier, 2004/05/07