Open dionmcm opened 7 years ago
Original comment by Dion McMurtrie (Bitbucket: dion_mcmurtrie, GitHub: Unknown)
Thanks John, that's great. I'll leave it open until the HAPI release is taken in medserve.
Original comment by John Grimes (Bitbucket: j0hngr1mes, GitHub: Unknown)
This has now been fixed upstream and will be in the next HAPI release.
Original comment by John Grimes (Bitbucket: j0hngr1mes, GitHub: Unknown)
I have opened this issue against hapi-fhir: https://github.com/jamesagnew/hapi-fhir/issues/837
Original comment by John Grimes (Bitbucket: j0hngr1mes, GitHub: Unknown)
It is influenced by the Accept header:
Accept: application/fhir+json
-> Content-Type: application/fhir+json;charset=utf-8
(this is what Polecat uses)Accept: application/json+fhir
-> Content-Type: application/json+fhir;charset=utf-8
Accept: application/json
-> Content-Type: application/json+fhir;charset=utf-8
Accept: application/fhir+json,application/json
-> Content-Type: application/json+fhir;charset=utf-8
Accept: application/json,application/fhir+json
-> Content-Type: application/fhir+json;charset=utf-8
Accept: application/fhir+json,application/json;q=0.9
-> Content-Type: application/fhir+json;charset=utf-8
Note that currently the "Medication get by id" request within the Postman collection is set up with Accept: application/json+fhir
.
Originally reported by Dion McMurtrie (Bitbucket: dion_mcmurtrie, GitHub: Unknown)
Strangely requests for everything on the server
All return application/fhir+json as expected for STU3 except for get requests for Medication resources by identifier, which return application/json+fhir.
Very strange, needs investigation...