-
Notifications
You must be signed in to change notification settings - Fork 553
Open
Labels
BugBug bug bug.Bug bug bug.Up for grabsThe issue require minimal context and is well-suited for new contributors.The issue require minimal context and is well-suited for new contributors.
Description
Describe the bug
The dotnet (8) HttpClient insists on adding ; charset=utf-8
to the Accept
-header of a request. This causes an error in the $export
operation because this line of code checks if the accept header is exactly the same as application/fhir+json
. I think this line should be changed to StartsWith
.
FHIR Version?
R4
Data provider?
SQL Server
To Reproduce
Steps to reproduce the behavior:
- Call the
$export
endpoint with a dotnetHttpClient
- Watch it burn
Expected behavior
It should work
Actual behavior
Operation was unsuccessful because of a client error (BadRequest). OperationOutcome: Overall result: FAILURE (1 errors and 0 warnings)\r\n[ERROR] (no details)(further diagnostics: Value supplied for the \"Accept\" header is not supported.)\r\n.
Metadata
Metadata
Assignees
Labels
BugBug bug bug.Bug bug bug.Up for grabsThe issue require minimal context and is well-suited for new contributors.The issue require minimal context and is well-suited for new contributors.