Re: [Saxon-JS 2] Accept header in SaxonJS.getResource()?
Martynas Jusevičius <martynas-tyFqBaoSXPC1Z/[email protected]> Wed, 23 Sep 2020 09:25:33 +0200
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CAE35Vmwz=syoNojyd8Vz3kJ1czWzEc_boOxQnExSFKyBea8pRQ@mail.gmail.com> |
https://saxonica.plan.io/issues/4748 On Wed, Sep 23, 2020 at 12:20 AM Martynas Jusevičius <[email protected]> wrote: > > 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 _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help