nl_tokens: Determine the content type of a file based on charset and mime type . @param { Object } file @return { String }
pl_tokens: function getContentType ( file ) { var mimeType = mime . lookup ( file . unzipPath || <mask> . path ) || 'application/octet-stream' ; var charset = mime . charset ( mimeType ) ; return charset ? mimeType + '; charset=' + charset . toLowerCase ( ) : mimeType ; }