> Is Mime supported in the VW-SmallWiki?
Yes, this is working in VW: The mime-type is automatically read from
the HTTP header when uploading a file.
> As I understand, the mimetype is set when you
create a new Resource,
> but not, when you upload the data (or a new version). The default
> value is ''.
You can get the mime-type of the data with any callback-block you
define. I suspect that in Squeak SmallWiki this is not properly passed
from the server to the callback-block:
[ :action :value :mimetype | ... ]
I know, I should add a test to catch that kind of problem.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org