files/en-us/web/http/reference/headers/content-dpr/index.md
{{deprecated_header}}{{securecontext_header}}{{Non-standard_header}}
The HTTP Content-DPR {{Glossary("response header")}} is used to confirm the image device to pixel ratio (DPR) in requests where the screen {{HTTPHeader("DPR")}} client hint was used to select an image resource.
[!NOTE] The
Content-DPRheader was removed from the client hints specification in draft-ietf-httpbis-client-hints-07. The Responsive Image Client Hints specification proposes to replace this header by specifying intrinsic resolution/dimensions in EXIF metadata.
If the DPR client hint is used to select an image, the server must specify Content-DPR in the response.
If the value in Content-DPR is different from the {{HTTPHeader("DPR")}} value in the request (i.e., image DPR is not the same as screen DPR), the client must use the Content-DPR for determining intrinsic image size and scaling the image.
If the Content-DPR header appears more than once in a message, the last occurrence is used.
Content-DPR: <number>
<number>
See the DPR header example.
{{Compat}}