看板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