- Sent a HTTP request for text/html content
- @RequestMapping only matches text/plain content
- A 405 status code was returned when I had expected a 404
This can be reproduced by running the demo application here:
Deploy the application can click on the "GET /simple/textonly" link to see the 405 returned. See the org.springframework.samples.mvc.simple.SimpleControllerRevisited for the @Controller implementation.