503be69af6
Previously, XhrBackend would call JSON.parse('') if the response body was empty (a 200 status code with content-length 0). This changes the XhrBackend to attempt the JSON parse only if the response body is non-empty. Otherwise, the body is left as null. Fixes #18680. Fixes #19413. Fixes #19502. Fixes #19555. PR Close #19958 |
||
---|---|---|
.. | ||
client_spec.ts | ||
headers_spec.ts | ||
jsonp_mock.ts | ||
jsonp_spec.ts | ||
module_spec.ts | ||
params_spec.ts | ||
request_spec.ts | ||
response_spec.ts | ||
xhr_mock.ts | ||
xhr_spec.ts | ||
xsrf_spec.ts |