List OPTIONS in OPTIONS responses for @RequestMapping

Issue: SPR-16513
This commit is contained in:
Rossen Stoyanchev
2018-05-14 08:59:12 -04:00
parent f7d60b7f58
commit 6cf6d8834c
5 changed files with 7 additions and 5 deletions

View File

@@ -443,6 +443,7 @@ public abstract class RequestMappingInfoHandlerMapping extends AbstractHandlerMe
result.add(HttpMethod.HEAD);
}
}
result.add(HttpMethod.OPTIONS);
}
return result;
}