Why Have This PR?
In daily development, functions are quite common. It's a default implementation also an example.
- Do not throw the exception, check the HTTP status outside. Reference
- Log the response especially when an exception happens. Reference
Comment From: bclozel
Sorry but I don't think those implementations belong to Spring Framework. They're fairly easy to write and most of it is opinionated (logging format, details, behavior) and is not reusable/extensible.
I'm declining this proposal as a result. Thanks!
Comment From: ZouHongxue
Noted with thanks.