400 bad request
来源:互联网 发布:小缘 大官人知乎 编辑:程序博客网 时间:2024/06/05 09:45
前台请求:Request URL:http://localhost:8080/testweb/UserDefined/downloadFile?userName=lijing&localPath=e:\download&fileName=BcaApiX.jarRequest Method:GETStatus Code:400 Bad Request后台异常:java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
原因:localPath=e:\download这里“\”的问题,\是路径分隔符
解决:
Request URL:http://localhost:8080/testweb/UserDefined/downloadFile?userName=lijing&localPath=e://download&fileName=BcaApiX.jarRequest Method:GETStatus Code:200 OK
阅读全文
0 0
- nginx 400 Bad Request
- http 400 Bad Request
- 400 bad request
- NetworkError: 400 Bad Request
- django -- Bad Request (400)
- 400 Bad Request
- ajax 400 bad request
- 400 Bad Request
- Error 400 Bad Request
- 400 (bad request) post
- 400 bad request 解决方法
- 400 : bad Request
- yii Bad Request (#400)
- "NetworkError: 400 Bad Request
- 400 Bad Request
- 400 bad request
- 400 bad request
- HTTP/1.1 400 Bad Request
- 小程序底部tabBar导航配置(app.json)
- 求3个数最大值和最小值的差
- JPA通用dao包设计
- 多表查询之join关联关系注意事项
- Neo4j简介
- 400 bad request
- 设计模式系列之「适配器模式」
- 交大oj-1012-增长率问题 C++ 总结
- appium 获取html5
- Java 泛型 清晰解读
- Ubuntu下安装R语言和开发环境
- 命令模式(java实现)
- ListView
- IOS 截图