Closed mielvds closed 1 year ago
Totals | |
---|---|
Change from base Build 4464535117: | 0.0% |
Covered Lines: | 85 |
Relevant Lines: | 85 |
Thanks @mielvds! :-)
Released as 3.3.0.
I was also wondering whether acceptHeader in https://github.com/rubensworks/fetch-sparql-endpoint.js/blob/master/lib/SparqlEndpointFetcher.ts#L177 should not better generalized to an optional customHeaders object?
There may be some improvements possible there. But since that method is mainly being used internally, this doesn't seem urgent to me.
Adds support for custom headers as proposed in #53. From looking at the existing code, I positioned the change as default headers that get overridden when actually fetching.
I was also wondering whether
acceptHeader
in https://github.com/rubensworks/fetch-sparql-endpoint.js/blob/master/lib/SparqlEndpointFetcher.ts#L177 should not better generalized to an optional customHeaders object?