错误
Request header is too largespring
分析
请求头内容过大swift
解决方案
1.SpringBoot版本1.3.8.RELEASE在配置文件中添加:
若是springboot内置tomcat服务器使用下面配置:tomcat
server: tomcat: max-http-header-size: 10000000
若是springboot内置jetty服务器使用下面配置:springboot
server: jetty: max-http-header-size: 10000000
2.SpringBoot版本2.0.3在配置文件中添加:
server: max-http-header-size: 10000000
我的微信公众,常常更新一些实用的干货:服务器

image.png