No need to detect the MIME type of media uploads, sort OAuth params correctly