1.報錯信息:
Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will ***
2.解決方法
在yml文件中添加如下內容:
#springboot中的內置tomcat服務器限定了Httppost的最大size
#通過在properties中添加如下配置,修改該內置服務器的對HttpPost數據的大小; 成功解決該問題;
#設定HttpHeader請求頭大小
server.maxHttpHeaderSize: 102400000
#設定Httppost數據大小
server.max-http-header-size: 10240
