On Mon, Aug 13, 2012 at 11:40 AM, Lluís Batlle i Rossell
<vi...@viric.name>wrote:

> Hello,
>
> 'doc.c' has some mime types based on extension. Nevertheless, for the
> attachment
> pages to a /raw page (Download link), no mime type is supplied regardless
> of
> what file it is. Therefore, fossil sends the 'x-fossil-artifact' kind of
> mime
> type.
>

With the "raw" webapge, you can use the m= query parameter to specify
whatever mimetype you want.  Ex:

   http://domain.com/fossil/raw/ab13cd34?m=text/plain


>
> Firefox, here, always shows "JPEG Image" for those things, at least with
> the
> "Open in browser" extension. Maybe it's a bug in firefox, but couldn't we
> report
> a proper mime type based on the extension?
>
> (I'd like firefox to offer me "Open PDF", for an attached PDF)
>
> Regards,
> Lluís.
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to