-
-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
acceptedIssue has been accepted and inserted in a future milestoneIssue has been accepted and inserted in a future milestoneenhancement
Milestone
Description
The http specification allows for optional parameters to be added to the Content-Type response header
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
The form of the header is
type/subtype;parameter=value
I wish to add a header to a response of "application/fhir+xml; fhirVersion=4.0"
The procedure SplitContentMediaTypeAndCharset which is called by the Render method discards all parameters except for "charset"
A fix would be to split the passed in value by ";", find the charset if any and recombine all other parameters
Metadata
Metadata
Assignees
Labels
acceptedIssue has been accepted and inserted in a future milestoneIssue has been accepted and inserted in a future milestoneenhancement