XMLHttpRequest.statusText is blank instead of "OK"
Reported by
alanwa...@gmail.com,
Mar 21 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 Steps to reproduce the problem: 1. Send an Ajax request using an XMLHttpRequest. 2. Wait for a readyState of 4 2. Examine the statusText. What is the expected behavior? The statusText should be "OK". What went wrong? The statusText is an empty string "". Did this work before? Yes Last stable build of Chrome. Chrome version: 49.0.2623.87 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0 There are a few places in an old web application that are still using the AjaxPro framework for making ajax requests. That framework is checking for a status of 200 and a statusText of "OK" (why it's checking for both, I don't know) and is failing now that the statusText is blank.
,
Mar 22 2016
@bnc: Could you please let us know if this issue is related to "475223". Thank you.
,
Mar 22 2016
It does appear to be. The protocol is HTTP/2. I assume I'll need to write a handler to send the statusText for these requests and/or move to a different Ajax solution (which we have been, this is a legacy service). Thanks.
,
Mar 23 2016
This is working as intended. HTTP/2 does not specify a status text in the response. The AjaxPro framework will need to be updated to account for this. |
|||
►
Sign in to add a comment |
|||
Comment 1 by yhirano@chromium.org
, Mar 22 2016Components: Internals>Network>HTTP2