INT-1662 added FROM tests to support this issue
This commit is contained in:
@@ -388,7 +388,7 @@ public class DefaultHttpHeaderMapper implements HeaderMapper<HttpHeaders> {
|
||||
: StringUtils.commaDelimitedListToStringArray((String) value);
|
||||
Set<HttpMethod> allowedMethods = new HashSet<HttpMethod>();
|
||||
for (String next : values) {
|
||||
allowedMethods.add(HttpMethod.valueOf(next));
|
||||
allowedMethods.add(HttpMethod.valueOf(next.trim()));
|
||||
}
|
||||
target.setAllow(allowedMethods);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user