request.asp
我页面中的以下代码:
<%
url= "http://mydomainname.com/test.asp"
dim http, pxml, http_response
set http = createobject("MSXML2.ServerXMLHTTP")
http.open "GET", url, 0
http.setrequestheader "content-type", "text/xml; charset=utf-8"
http.send ""
response.write http.status
response.write http.responseText
%>
这是test.asp
页面中的代码:
<%
response.write "<response>test page<response>"
%>
在输出http.status
中是 200 但http.responseText
为什么是空的?