Linux出现get请求正常,post请求失败

项目在window上边运行正常,而在Linux/Unbantu系统出现get请求正常,post请求失败的情况

 

原因:表单的编码类型不正确

 

详细区别见:https://blog.csdn.net/yamadeee/article/details/84250297

 

处理方案:在form表单添加 enctype="multipart/form-data"

posted @ 2019-11-22 17:29  带着蚂蚁去散步  阅读(1548)  评论(0编辑  收藏  举报