#365 Default type set to 'text/plain'