- 添加支持
请求PUT
@Configuration
public class ServletContextConfig extends WebMvcConfigurationSupport {
@Bean
public FormContentFilter httpPutFormContentFilter() {
return new FormContentFilter();
}
}
Java使用PUT提交请求错误码400及415解决方案