- 论坛徽章:
- 0
|
用python模拟IE登录10.254.0.9出问题了 。
这里是POST自己的IP给SERVER
请求如下:
conn.request('POST','/webLogin.jsp','LocalIP='+ip,headers)
SERVER端的应答如下:
The URL has moved <a href://10.254.0.9:80/myportal/loginsetparameter.jsp?key=1189138012892'>here</a>
<!--
--Unfortunately.Microsoft has assed a clever new
--"frature" to Internet Explorer. If the text in
--an error's message is "too small",specifically
--less than 512 bytes,Internet Explorer returns
--its own error message. Yes,you can tnen that
--off,but *surprise* its pretty tricky to find
--buried as a switch called "smart error
--message" That means ,of coutse,that many of
--resin's error message are censored by default,
--And ,of course ,you'll be shocked to lean that
--IIS always returns error messages that are long
--enough to make Internet Explorer happy.the
--workaround is pretty simple:pad the error
--message with a big comment to push it over the
--five hundred and twelve byte minimum.Of course,
--that's exactly what you're reading righe now.
-->
以上的应答大致说我的请求太短?是不是IE有自己的标准。。。我是自己用IE登录,然后抓了数据包,再用PYTHON模拟的。。请问这个怎么解决?这个应该也和信息安全有那麽一点点关系吧^#^!
> |
|