Option to supply Accept header in SaxonJS.getResource()
I am trying to load an
application/rdf+xml resource using
SaxonJS.getResource() yet I get
text/html, because Saxon-JS sends an
Accept: */* header.
I think there should be an option to supply the
#5 Updated by Debbie Lockett 3 months ago
- Status changed from Closed to In Progress
- Assignee set to Debbie Lockett
Reopening, because the fix looks to be incomplete.
NodeJSPlatform this method processes
headers if supplied, but not in
The browser test
iss4748 is actually testing the use of headers in
ixsl:schedule-action/@http-request; which is a separate mechanism.
#7 Updated by Debbie Lockett about 1 month ago
- Status changed from In Progress to Resolved
Documentation now updated to include the new
headers option for
We should really have more tests for this new feature, and for testing
SaxonJS.getResource in general. But I'm going to mark this as resolved anyway.
Please register to edit this issue