Rolf Egert 5 years ago
parent
commit
d6b53739ca
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Connection/ConnectPhysical.java

+ 2 - 0
src/Connection/ConnectPhysical.java

@@ -340,6 +340,8 @@ public class ConnectPhysical implements Algorithm{
 				      // just want to do an HTTP GET here
 				      connection.setRequestMethod("GET");
 				      
+				    println("HTTP Responsecode" + connection.getResponseCode());
+				      
 				      // give it 15 seconds to respond
 				      connection.setReadTimeout(1000);
 				      connection.connect();