Skip to content

Commit

Permalink
update readme with note about the automatic version lowering, issue #25
Browse files Browse the repository at this point in the history
… [skip ci]
  • Loading branch information
jakoch committed Jan 25, 2016
1 parent 519d4bf commit 6d62704
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,11 @@ Usage:
$dir = PhantomInstaller\PhantomBinary::getDir();

This feature is similar to `location.js` of the [phantomjs module](https://github.com/Medium/phantomjs/blob/master/install.js#L93) for Node.

## Automatic version lowering on 404

In case downloading an archive fails with HttpStatusCode 404 (resource not found),
the downloader will automatically lower the version to the next available version
and retry. The number of retries is determined by the number of hardcoded PhantomJS
versions in `getPhantomJSVersions()`. This feature was added, because of the problems
with v2.0.0 not being available for all platforms (see issue #25).

0 comments on commit 6d62704

Please sign in to comment.