Project

Profile

Help

Feature #4748

closed

Option to supply Accept header in SaxonJS.getResource()

Added by Martynas Jusevicius about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2020-09-23
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

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 Accept header.

Please register to edit this issue

Also available in: Atom PDF Tracking page