From: gmungoc Date: Mon, 12 Nov 2018 17:43:59 +0000 (+0000) Subject: JAL-3076 JalviewJS requires lower case content-type parameter in URL X-Git-Tag: Release_2_11_4_0~45^2~18^2~407^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=55dfffd0653c78e870db3a2b893c55a665fd1243;p=jalview.git JAL-3076 JalviewJS requires lower case content-type parameter in URL --- 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)