Stream: javascript
Topic: fhir.js: pull request 91: Overriding Accept and Content-T...
FHIR.js Bot (Feb 21 2017 at 07:33):
bunyaminsg opened pull request 91
Defaults
in thefhir
class was overriding theAccept
andContent-Type
headers withapplication/json
without considering thecfg
provided by users:var Defaults = Middleware(config(cfg, adapter)) .and($Errors) .and(auth.$Basic) .and(auth.$Bearer) .and(auth.$Credentials) .and(transport.$JsonData) .and($$Header('Accept', 'application/json')) .and($$Header('Content-Type', 'application/json'));
FHIR.js Bot (Feb 21 2017 at 21:49):
niquola closed pull request 91
Last updated: Apr 12 2022 at 19:14 UTC