JAL-3076 JalviewJS requires lower case content-type parameter in URL
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 12 Nov 2018 17:43:59 +0000 (17:43 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 12 Nov 2018 17:43:59 +0000 (17:43 +0000)
src/jalview/ext/ensembl/EnsemblSeqProxy.java

index 5dc701d..6be0486 100644 (file)
@@ -504,7 +504,7 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient
     // @see https://github.com/Ensembl/ensembl-rest/wiki/Output-formats
     urlstring.append("?type=").append(getSourceEnsemblType().getType());
     urlstring.append(("&Accept=application/json"));
-    urlstring.append(("&Content-Type=application/json"));
+    urlstring.append(("&content-type=application/json"));
 
     String objectType = getObjectType();
     if (objectType != null)