我在 Safari 浏览器中使用POST 方法提交表单时遇到问题。在 Safari 浏览器中提交表单后返回状态码 302 并重定向到GET 方法。表单在跨域页面上作为iframe加载。在其他浏览器中提交工作正常(状态码为 200)
Request Method:POST
Status Code:302 Found
请求标头:
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Type:application/x-www-form-urlencoded
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
响应标头
Date: Mon, 19 Aug 2013 13:47:56 GMT
p3p: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
Connection: close
Content-Length: 0
Pragma: no-cache
Server: Apache/2.2.3 (CentOS)
Content-Type: text/plain; charset=UTF-8
Cache-Control: no-cache, no-store
Expires: Thu, 01 Jan 1970 00:00:00 GMT
表格数据
selectedDate:19.8.2013
selectedTimeString:19:00
有没有人遇到过这个问题?
网络服务器:Apache Tomcat 5.5 + Spring MVC