From 55dfffd0653c78e870db3a2b893c55a665fd1243 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 12 Nov 2018 17:43:59 +0000 Subject: [PATCH] JAL-3076 JalviewJS requires lower case content-type parameter in URL --- src/jalview/ext/ensembl/EnsemblSeqProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ext/ensembl/EnsemblSeqProxy.java b/src/jalview/ext/ensembl/EnsemblSeqProxy.java index 5dc701d..6be0486 100644 --- a/src/jalview/ext/ensembl/EnsemblSeqProxy.java +++ b/src/jalview/ext/ensembl/EnsemblSeqProxy.java @@ -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) -- 1.7.10.2