Lukas Renggli wrote:
> 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:
Yes the error must be in that area. Chris wants to look into it.
In another message I wrote that I have a workaround for the moment.
So there is no need to hurry but of course if that is fixed it enhances
smallwiki.
[ :action :value :mimetype | ... ]
I know, I should add a test to catch that kind of problem.
That would be fine
The test should write out
write out a gif or wave file and then load it up to smallwiki.
Regards
Hannes