On Tue, Dec 20, 2005 at 02:44:28PM +0100, Gaetan Lehmann wrote:
> Is it possible to display an image ?
> When I click on "plain" for an image, I see a PNG appear in the window,
> and some garbage below :-(
> wget tell me the downloaded file is a "text/plain". It surely explain the
> problem
Yes, but I can't really tell what type of file is it, much less
identifying it as an image.
What I can do is check if darcs sees the file as a binary one (it matches
regular expressions at /_darcs/prefs/binaries), and if so offer a download
instead of displaying it as text/plain, which is a better behaviour, and
should make wget happier.
I've applied a patch to do this, it's in the current repository. Is this
useful to you?
Thanks,
Alberto
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users