JAL-4001 Rationalise user-agent string into HttpUtils
[jalview.git] / src / jalview / bin / Jalview.java
index 93ecd9d..07e122a 100755 (executable)
@@ -633,8 +633,7 @@ public class Jalview
     {
       headless = true;
     }
-    System.setProperty("http.agent",
-            "Jalview Desktop/" + Cache.getDefault("VERSION", "Unknown"));
+    System.setProperty("http.agent", HttpUtils.getUserAgent());
 
     try
     {