DICOM PS3.18 2024e - Web Services

8.7.5 Acceptable Media Types

The term Acceptable Media Types denotes the Media Types that are acceptable to the user agent in the response. The Acceptable Media Types are those specified in:

The response to a request without an Accept Header Field shall be 406 (Not Acceptable). The presence of an Accept Query Parameter does not eliminate the need for an Accept Header Field. For details see Section 8.3.3.1.

The Acceptable Media Types shall be either DICOM media-types or Rendered Media Types, but not both. If the Acceptable Media Types contains both DICOM and Rendered Media Types, the origin server shall return 400 (Bad Request).

The user agent may specify the relative degree of preference for Media Types, whether in the Accept Query Parameter or the Accept Header Field, using the weight parameter. See [RFC7231] Section 5.3.1.

weight = OWS ";" OWS "q=" qvalue
qvalue = ("0" ["." 0*3DIGIT]) / ("1" ["." 0*3("0") ])

If no "q" parameter is present, the default qvalue is 1.

DICOM PS3.18 2024e - Web Services