Bug #3611
closedHandle error responses from HTTP requests
100%
Description
Error responses from HTTP requests (using ixsl:schedule-action/@http-request) are not properly handled, i.e. when http.status >= 400.
Currently we get a crash:
Uncaught TypeError: Cannot read property 'split' of null at XMLHttpRequest.http.onreadystatechange
(SaxonJS.js:314)
Updated by Debbie Lockett almost 7 years ago
- Status changed from New to Resolved
- Fix Committed on JS Branch 1.0, Trunk added
Handle http.status >= 400 better in makeHttpRequestJS. Add this condition to the block of processing already dependant on !request["status-only"]. In this case, the HTTP response map will have entries for status, message, and headers, but no body.
Fix committed on 1.0 and trunk branches.
Updated by Debbie Lockett over 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 1.1.0
Bug fix applied in the Saxon-JS 1.1.0 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page