SpringSource/spring-framework — pull request #205 by acogoluegnes (2012-12-14 09:18:43+00:00)
Title: Add support for OPTIONS request in the MVC test framework

There is currently no way to handle OPTIONS request in the MVC test framework, as they always handled by the DispatcherServlet.

I added the options static method in the MockMvcRequestBuilder and add added the dispatchOptions flag to the DefaultMockMvcBuilder. The flag defaults to false, as in the DispatcherServlet.

Issue: SPR-10093