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

> On Mon, Aug 13, 2012 at 11:49:06AM -0400, Richard Hipp wrote:
> > 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
>
> I know I know. But wouldn't it be nicer if the attachment web page set the
> Download link with that m= parameter set to the mime type guessed by file
> extension?
>

An artifact does not necessarily have a filename, or it might have multiple
filenames.  Nevertheless, we can guess at the filename, and from that guess
at the mimetype.

http://www.fossil-scm.org/fossil/info/af16836c23



>
>
> _______________________________________________
> 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