$export fails on Accept header from HttpClient #3876
Labels
Bug
Bug bug bug.
Up for grabs
The issue require minimal context and is well-suited for new contributors.
Describe the bug
The dotnet (8) HttpClient insists on adding
; charset=utf-8
to theAccept
-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 asapplication/fhir+json
. I think this line should be changed toStartsWith
.FHIR Version?
R4
Data provider?
SQL Server
To Reproduce
Steps to reproduce the behavior:
$export
endpoint with a dotnetHttpClient
Expected behavior
It should work
Actual behavior
The text was updated successfully, but these errors were encountered: