Hannes Hirzel wrote:
My question applies to the Squeak implemenation
of smallwiki.
The mime type isn't set for jpg, gif and wav files
To be more precise: The mime type is not set in the action class
SWResourceEdit or one of its superclasse SWEditAction or SWAction.
Common mime types are (just strings) in the instance variable mimetype
'image/jpg'
'image/gif'
'audio/wav'
In the method renderFields of SWResourceEdit
the following code snippet does not work correctly.
html fileUploadWithCallback: #data:mime:
The mime type returned is the empty string.
HH