[Top][All Lists]

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

RE: lynx-dev Overriding mime types

From: Danny Ayers
Subject: RE: lynx-dev Overriding mime types
Date: Fri, 22 Mar 2002 19:37:36 +0100

Thanks, but this doesn't appear to make any difference - my guess is that
the mime type in the http header is taking precedence.

I tried adding :


to lynx.cfg

and in


I've got

text/html svg xml

but when I point to a file with the extension .svg (which my server's saying
is image/svg+xml) I still get the D)ownload or C)ancel options.

Any suggestions?



Danny Ayers
<stuff> </stuff>

>-----Original Message-----
>From: address@hidden [mailto:address@hidden Behalf Of
>Thomas Dickey
>Sent: 22 March 2002 19:15
>To: address@hidden
>Subject: Re: lynx-dev Overriding mime types
>On Fri, Mar 22, 2002 at 02:39:23PM +0100, Danny Ayers wrote:
>> >who's rob partington?  i know thomas dickey all right, but that guy??
>> A quick search of the list archives shows a lot of posts from
>Rob Partington
>> around 1995-96 time, so I guess he was active in the development then.
>> How do you override mime types?
>not having been down that way, I spent a few minutes and grep'd through
>the source - from src/HTInit.c where most of the MIME stuff is mapped,
>I see a pointer to something called "personal_extension_map", which
>is read from lynx.cfg:
># The global and personal EXTENSION_MAP files allow you to assign
># to MIME types which will override any of the suffix maps in this
># configuration file, or in src/HTInit.c.  See the example mime.types file
># in the samples subdirectory.
># Unix:
># ====
># VMS:
># ===
>#      Unix (sought in user's home directory):
>#      VMS (sought in user's sys$login directory):
>Thomas E. Dickey <address@hidden>
>; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

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

reply via email to

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