diff src/luan/modules/url/LuanUrl.java @ 1509:0ba144491a42

lucene.backup zip
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 17 May 2020 14:29:33 -0600
parents 8ab2f0fc3829
children fb5be0e8ca54
line wrap: on
line diff
--- a/src/luan/modules/url/LuanUrl.java	Sat May 16 17:56:02 2020 -0600
+++ b/src/luan/modules/url/LuanUrl.java	Sun May 17 14:29:33 2020 -0600
@@ -17,6 +17,7 @@
 import java.util.HashMap;
 import java.util.List;
 import java.util.Base64;
+import goodjava.io.IoUtils;
 import goodjava.parser.ParseException;
 import luan.Luan;
 import luan.LuanTable;
@@ -322,7 +323,7 @@
 			if( is == null )
 				throw e;
 			Reader in = new InputStreamReader(is);
-			String msg = Utils.readAll(in);
+			String msg = IoUtils.readAll(in);
 			in.close();
 			LuanException le = new LuanException(msg,e);
 			le.put("response_code",responseCode);