Rolf Egert 6 年之前
父節點
當前提交
d6b53739ca
共有 1 個文件被更改,包括 2 次插入0 次删除
  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();