chennaji9 commented on PR #6888:
URL: 
https://github.com/apache/rocketmq-dashboard/pull/6888#issuecomment-6520023056

   Re-checked the interaction with Spring's handling: returning a 
`ResponseEntity` from the exception handler takes precedence over the 
`@ResponseStatus` annotation on the method, so the 405 status itself is 
unchanged — the only observable difference is the `Allow` header now being 
populated from `ex.getSupportedHttpMethods()`. Preflight `OPTIONS` requests 
never reach this handler (the `DispatcherServlet` answers them), so there is no 
interaction there either.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to