vb xmlhttp的问题
来源:百度知道 编辑:UC知道 时间:2024/06/01 20:14:13
用vb xmlhttp POST或者GET
一个网址之后会返回一个信息
例如:返回的是
HTTP/1.1 200 OK
Date: Wed, 13 Feb 2008 13:45:59 GMT
Server: Apache
Cache-Control: max-age=0
Expires: Wed, 13 Feb 2008 13:45:59 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 111
Connection: close
Content-Type: text/html
怎么获得 Content-Length 这个值呢?
也就是:111 这的个数字
高手们,谢谢啦!!!
一个网址之后会返回一个信息
例如:返回的是
HTTP/1.1 200 OK
Date: Wed, 13 Feb 2008 13:45:59 GMT
Server: Apache
Cache-Control: max-age=0
Expires: Wed, 13 Feb 2008 13:45:59 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 111
Connection: close
Content-Type: text/html
怎么获得 Content-Length 这个值呢?
也就是:111 这的个数字
高手们,谢谢啦!!!
比如POST的内容为
postdata="usetname=actcs&password=actcs.cn&id=www.actcs.cn"
=len(postdata)=3
忘记ASP有LENB(postdata)没有了,自己试试吧,要ANSI长度不是UNICODE长度