set user-agent to something the server won't reject
@@ -188,6 +188,7 @@ public final class MekanismUtils
URL url = new URL(urlToRead);
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
conn.setRequestMethod("GET");
+ conn.setRequestProperty("User-Agent","Mekanism/"+Mekanism.versionNumber.toString());
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
while((line = rd.readLine()) != null)
