On 20050215 20:47:01, Andre Majorel <[EMAIL PROTECTED]> wrote: > I'm having trouble getting mime.extension to work. I need to > associate the ".HTM" extension (case-sensitive) to "text/html". > What is the syntax ? Neither > > set mime.extension.HTM = "text/html" > > nor > > set mime.extension.-HTM = "text/html" > > nor > > set mime.extension.*HTM = "text/html" > > nor any of a number of implausible variations appear to do > anything. Regardless, "elinks ./FOO.HTM" gives me > > "Would you like to save the file 'FOO.HTM' (type: > application/octet-stream) or display it?"
ELinks 0.10 will lower the extension after it extracts it from the URI. So, set mime.extension.FOO where FOO is any string with uppercase letters will never match anything. Anyway, ELinks recognises .HTM as text/html without need for any configuration, at least for me. Are you using an old release where this is not true? -- Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]> _______________________________________________ ELinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
