Asp classic asp服务器XMLHTTP无法获取所有源代码

Asp classic asp服务器XMLHTTP无法获取所有源代码,asp-classic,serverxmlhttp,Asp Classic,Serverxmlhttp,这段代码并没有告诉我所有的源代码。Responsetext直到“YapıDergisi,284”,但orjinal页面直到“/body/html”。我为什么会这样 Orjinal页- 我的代码-在原始页面中,在主要文章的末尾(在“284”之后)似乎有一个空字节。ResponseText似乎将该空字节视为响应字符串的结尾。我可以通过以下方式获得全文: set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") objXmlHttp.Op

这段代码并没有告诉我所有的源代码。Responsetext直到“YapıDergisi,284”,但orjinal页面直到“/body/html”。我为什么会这样

Orjinal页-


我的代码-

在原始页面中,在主要文章的末尾(在“284”之后)似乎有一个空字节。ResponseText似乎将该空字节视为响应字符串的结尾。我可以通过以下方式获得全文:

set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXmlHttp.Open "GET", "http://www.yapi.com.tr/Haberler/e_61034.html", false
objXmlHttp.Send
response.write  objXmlHttp.ResponseText

注意,我将响应字符集设置为UTF-8,它与原始页面匹配

<%
Response.CharSet = 65001
Response.AddHeader "Content-Type", "text/html;charset=UTF-8"
set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXmlHttp.Open "GET", "http://www.yapi.com.tr/Haberler/e_61034.html", false
objXmlHttp.Send
Response.BinaryWrite  objXmlHttp.ResponseBody
%>