Repository: incubator-slider Updated Branches: refs/heads/feature/SLIDER-878-jersey 13ec0af54 -> f1efe763e
SLIDER-878 re-enable Jersey method workaround option in AMClient Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/f1efe763 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/f1efe763 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/f1efe763 Branch: refs/heads/feature/SLIDER-878-jersey Commit: f1efe763eb426398669e00ff2a2b4a84651adfd2 Parents: 13ec0af Author: Steve Loughran <[email protected]> Authored: Tue May 19 10:40:38 2015 +0100 Committer: Steve Loughran <[email protected]> Committed: Tue May 19 10:40:38 2015 +0100 ---------------------------------------------------------------------- .../java/org/apache/slider/core/registry/retrieve/AMWebClient.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/f1efe763/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java ---------------------------------------------------------------------- diff --git a/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java b/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java index 605b46c..dd9af16 100644 --- a/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java +++ b/slider-core/src/main/java/org/apache/slider/core/registry/retrieve/AMWebClient.java @@ -55,11 +55,9 @@ public class AMWebClient { clientConfig.getFeatures().put( JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE); -/* clientConfig.getProperties().put( URLConnectionClientHandler.PROPERTY_HTTP_URL_CONNECTION_SET_METHOD_WORKAROUND, true); -*/ URLConnectionClientHandler handler = getUrlConnectionClientHandler(); client = new Client(handler, clientConfig); client.setFollowRedirects(true);
