如http协议头:POST /login/login.php HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19
Referer: http://www.kaixin001.com/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Cookie: _uid='+E_UID.Text+'; SERVERID=_srv132-45_; _ref=
Accept-Language: zh-CN,zh
Accept-Charset: gb18030,*,utf-8
Host: www.kaixin001.com
Content-Length: 1024
Connection: Keep-Alive这类东东,有没有最大长度,后面的html文档不算,头应该有最大长度吧?不然不是很不方便,

解决方案 »

  1.   

    Content-Length指出内容长度
    http协议头长度没看过
      

  2.   


    In the Add Header dialog box, enter the HTTP header and the maximum size that you want for the header limit, and then click OK.
    各个 web server 为了不累, 都有方式设置 limit, 不过不属于 http protocol 吧呢
      

  3.   


    呵呵,不是很熟,不过像ip协议,好像是有限定最大长度的,这样子比较好给一个固定的缓冲区来读取,当然不用也可以,但是作为协议头,我想限定长度是可取的,一个包含文档信息的字符串,有个最大长度不为过,
    如果实在没有,那它处理不用可能就是一个bug,to #3 嗯to #4 加个limit,为了不累,有道理
      

  4.   

    如果实在没有,那它处理不好可能就是一个bug,