一组表单里有两个提交按钮:python代码:ifrequest.method=='POST':ifrequest.form['up']:returnredirect(url_for('index'))elifrequest.form['down']:returnredirect(url_for('index'))其中up这个可以正常提交,但是down这个就报错:BadRequestThebrowser(orproxy)sentarequestthatthisservercouldnotunderstand.怎么解决?
添加回答
举报
0/150
提交
取消