-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Expected Behavior
Caller able to access response headers returned by a FHIR Server (e.g. Location Header returned from a Create Call which received a 201 success response). Verified response headers are received from server when making call via Postman, but unable to access via FHIR-Kit-Client
Actual Behavior
Caller unable to access response headers using FHIR-Kit-Client library.
Steps to Reproduce the Problem
- Call FHIR Server with valid create call (i.e. Observation.Create)
- Verify 201 status code received
- Attempt to access response header for Location. Response headers are unexpectedly empty
Specifications
Source of issue appears to be in the following file from ~L172-177
fhir-kit-client/lib/http-client.js
Line 172 in b13c62d
| const { status, headers } = response; |
Metadata
Metadata
Assignees
Labels
No labels