Open
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.