JAL-1188 - set the user agent to Jalview Desktop/${VERSION}
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 4 Oct 2012 15:11:08 +0000 (16:11 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 4 Oct 2012 15:11:08 +0000 (16:11 +0100)
src/jalview/bin/Jalview.java

index bfa7b11..7920fa9 100755 (executable)
@@ -157,7 +157,7 @@ public class Jalview
     {
       headless = true;
     }
-
+    System.setProperty("http.agent", "Jalview Desktop/"+Cache.getDefault("VERSION", "Unknown"));
     try
     {
       Cache.initLogger();