免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3520 | 回复: 2
打印 上一主题 下一主题

http的问题1 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-08 15:59 |只看该作者 |倒序浏览
用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模拟的。。请问这个怎么解决?这个应该也和信息安全有那麽一点点关系吧^#^!

>

论坛徽章:
0
2 [报告]
发表于 2007-09-27 21:34 |只看该作者
这个错误是由于华为的SERVER为了防止多用户共享帐号上网,进行了帐号/MAC/IP绑定.
我是登陆成功以后非正常断线,再登陆的话就会出现这个东西.对程序正常运行不构成影响!

论坛徽章:
0
3 [报告]
发表于 2007-09-27 22:08 |只看该作者
自问自答???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP