<分区>
我是 tomcat 服务器技术的新手。目前我正在开发 spring boot 应用程序,我尝试使用在后台运行的 tomcat 服务器(低于 8.5v)调用下面的 api,我得到了预期的响应。但是,当我尝试使用在后台运行的 tomcat 服务器 8.5.9v 调用相同的 api 时,我收到了 400 错误请求。
http://localhost:8080/TestRest/ExtractTest?jsonString={"extract": {"Type":"veswanth", "objects":[{"object":"WTT"}]}}
在日志文件中我发现了以下问题
service Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
请帮我解决这个问题,如果做错了什么请纠正我..