[Saxon-JS 2] Accept header in SaxonJS.getResource()?

Martynas Jusevičius <martynas-tyFqBaoSXPC1Z/[email protected]> Wed, 23 Sep 2020 00:20:37 +0200
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAE35VmwrGcSKO2UMBKcwevF796CmhEUYGeq8=VOPzLMqFAoDrw@mail.gmail.com>
Hi,

I am trying to load an application/rdf+xml resource using
getResource() yet I get text/html, because Saxon-JS sends an Accept:
*/* header.

I think there should be an option to supply the Accept header.


Martynas