看板Programming
标 题Re: [问题] http 标头中的 Content-Length
发信站SayYA 资讯站 (Sat Aug 5 15:32:40 2006)
转信站ptt!ctu-reader!news.nctu!SayYa
是你自己写的 server 吗?
我想是因为你的 server 直接就在等 client 送 content 过来, 而没有先把
server 的 response 先送给 client, 造成 client 一直等待 server 的 response,
而 server 也一直在等 client 的 content。 最後结果就是 timeout, client
自动断线。 IE 并不会管 client 的 response, 直接就送 content 了.
但 mozilla or firefox 则会先等 server 有 response, 确定 server
能处理该 request 後,才开始传送 content。
※ 引述《[email protected] (YYY)》之铭言:
> 而且我发现如果档案小一点,
> 根本都没收到什麽东西就停掉了,
> 只有 header 而已...~_~
--
[email protected] [email protected]
http://heaven.branda.to/~thinker/GinGin_CGI.py
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: 219-84-62-240-adsl-tpe.dynamic.so-net.net.tw