mirror of
https://github.com/appium/appium.git
synced 2026-10-27 11:46:39 +08:00
Sometimes you can't tell the file type from a URL. Let URL minimizers or if there are parameters, etc. So just check the content type of the response. If it's a zip file, ensure it gets unzipped in subsequent logic. Otherwise, assume it's an app file.