use simple pattern matching for mimetype download behaviour
updated changes