-
Enhancement
-
Resolution: Done
-
Major
-
2.5.0
-
None
the openshift-java-client is currently failing when there are unknown http methods in the server responses. This is bad, it should not fail, should be lenient since such failing inhibits communications completely.
The exact reason is a
HttpMethod.valueOf(httpMethod)
in the Link constructor:
Link
protected Link(final String rel, final String href, final String httpMethod, final List<LinkParameter> requiredParams, final List<LinkParameter> optionalParams) { this(rel, href, HttpMethod.valueOf(httpMethod), requiredParams, optionalParams); }