On Mon, Aug 13, 2012 at 12:19:28PM -0400, Richard Hipp wrote:
> 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
> 

Thank you! I'll test it.

I thought you would change the link to the Raw download:
http://www.fossil-scm.org/fossil/artifact/33360c8c6055dfacfd6c6e7a98b0fc4bc42d6e59?ln=1446

to include "m=blabla", as done a bit below, 
http://www.fossil-scm.org/fossil/artifact/33360c8c6055dfacfd6c6e7a98b0fc4bc42d6e59?ln=1492

Will your change work for an artifact that comes as a wiki page attachment?
(that was my original case).

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

Reply via email to