XmlHttp: How to get the actual status of a Text from an msxml.xmlhttp object?

The web server returns a status code and description in response to a request from the XmlHttp component . The actual status of the response from the server begins with:

HTTP/1.1 400 Not a valid http POST request

what i can see though feeddler trace :

alt text

But when I request an xmlHttp request for status and statusText , it shows me a “standard” description of the status text, not the actual status text:

xmlHttp.status: 200
xmlHttp.statusText: "Bad Request"

what I see in the development of the IDE:

alt text

I looked through all the other properties of IXMLHttpRequest and cannot find a single one containing the text of the actual status of the response. This is not even in any of the response headers :

Server: ASP.NET Development Server/8.0.0.0
Date: Thu, 28 Jan 2010 21:03:16 GMT
X-AspNet-Version: 2.0.50727
X-LSI-Proxy-Identificaton: {65B76AB2-8A28-4A2B-B282-7E1FDC9DBCA1}
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 4652
Connection: Close

Internet Explorer, Chrome FireFox :

alt text

statusText Microsoft xmlHttp?

+4
1

, 400 "Bad Request" HTTP/1.1 RFC XMLHTTP ( , URLMON WinHTTP) . , , , .

, "", HTML-, ​​ , TITLE HEAD.

+2

Source: https://habr.com/ru/post/1730467/


All Articles