Sometime needs direct assign of content-type when write file to seaweedfs.
To do this - simply change line https://github.com/atroo/node-weedfs/blob/master/lib/weedfs.js#L83:
form.append("file", stream ? stream : file[i]);
to:
form.append("file", stream ? stream : file[i], opts);
And this allowed assign content-type like this:
weed.write('./file', {contentType: 'image/png'})