Support basic auth when downloading latest.txt.

Fixes issue 27.
This commit is contained in:
Michael Bayne
2013-04-16 08:26:18 -07:00
parent be56b50801
commit 050c14844e
@@ -1165,7 +1165,7 @@ public class Application
InputStream in = null;
PrintStream out = null;
try {
in = _latest.openStream();
in = ConnectionUtil.open(_latest).getInputStream();
BufferedReader bin = new BufferedReader(new InputStreamReader(in));
for (String[] pair : ConfigUtil.parsePairs(bin, false)) {
if (pair[0].equals("version")) {