问题描述
连我自己的网站没什么问题,conn.getResponseCode()是200.android客户端应该是没问题但是连我们学校的两个登陆页面一个是400错误一个是404错误。下面是用Httpwatch抓的包下面这个是400错误POST/pyxx/login.aspxHTTP/1.1Accept:text/html,application/xhtml+xml,*/*Referer:http://210.44.8.24/pyxx/login.aspxAccept-Language:zh-CNUser-Agent:Mozilla/5.0(compatible;MSIE9.0;WindowsNT6.1;Trident/5.0;BOIE9;ZHCN)Content-Type:application/x-www-form-urlencodedAccept-Encoding:gzip,deflateHost:210.44.8.24Content-Length:151Connection:Keep-AliveCache-Control:no-cacheCookie:ASP.NET_SessionId=zxpaki45jhfiibyddk2txi3x__VIEWSTATE=dDw1MzgxOzs%2BM2aNAmySypm9lXJTG5T25OGt7q8%3D&_ctl0%3Atxtusername=2010021&_ctl0%3Atxtpassword=198604&_ctl0%3AButton1=%E7%A1%AE%E5%AE%9A下面这个是404错误POST/pls/wwwbks/bks_login2.login?jym2005=1103.4888191477582HTTP/1.1Accept:text/html,application/xhtml+xml,*/*Referer:http://210.44.2.168:7777/zhxt_bks/xk_login.htmlAccept-Language:zh-CNUser-Agent:Mozilla/5.0(compatible;MSIE9.0;WindowsNT6.1;Trident/5.0;BOIE9;ZHCN)Content-Type:application/x-www-form-urlencodedAccept-Encoding:gzip,deflateHost:210.44.2.168:7777Content-Length:33Connection:Keep-AliveCache-Control:no-cacheCookie:ACCOUNT=2006115100100906184537stuid=200611510010&pwd=8830789122高手们,有什么解决的办法吗?~