Framework & Platform/Spring

spring - headers="Accept=*/*"

linuxism 2014. 12. 26. 14:46


406 means the request content is considered Not Acceptable by the server. Try to remove the Acceptheader or adding headers="Accept=*/*" to the @RequestMapping annotations.



source - http://stackoverflow.com/questions/21865179/spring-xml-406-error