fix res.type= for unknown types

because we changed from mime to mime-types. ideally, we should just not
set the content-type, but this way it’s backwards compatible. we can
change it later.
update finished
0.6.3