Use mime::guess_type rather than httr::guess_media