Use mimetypes.guess_type() to determine the content type of a Node