[Haskell-cafe] viewing HS files in Firefox

Thomas Schilling nominolo at googlemail.com
Sat Oct 27 20:16:40 EDT 2007


On Sat, 2007-10-27 at 18:48 -0400, Isaac Dupree wrote:
> When I try to go to one of the Module.hs files, e.g. on 
> darcs.haskell.org, it now has type HS and Firefox refuses to display it 
> (and only lets me download it).  Does anyone know how to make Firefox 
> treat certain file types as others (HS as plain text, in particular)? 
> so that I can browse them with any convenience


I believe those kinds of problem have to do with the MIME-encoding on
the server side:  The server uses text/x-haskell.  For Firefox to
display the document inline it probably has to be text/plain.  Not sure
what the proper fix is, though.

/ Thomas



More information about the Haskell-Cafe mailing list