-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cachable, proxy-friendly selendroid jar download.
* Download using http from maven central, not https from github. Using http avoids many proxy-related problems and makes caching easier. Not using github means can use http and also avoids a redirection to a temporary and therefore extra-hard-to-cache URL. * Download via temporary file, throwing exception if fail, to ensure other code can't see bad download. * Use SHA256 not MD5 fingerprint, to compensate for use of http. * Only check fingerprint on download, but fail if it is wrong instead of just logging warning. * Use Buffer, not String to hold body. Download using http (from maven central, not github) via temporary file, throwing exception if fail.
- Loading branch information
1 parent
6a8aac2
commit 3325a8b
Showing
1 changed file
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters