lookup> DPR

DPR

is a number that, in requests, indicates the client’s current Device Pixel Ratio (DPR), which is the ratio of physical pixels over CSS px of the layout viewport on the device.

请求头draft-grigorik-http-client-hints
NameDPR
Type请求头

is a number that, in requests, indicates the client’s current Device Pixel Ratio (DPR), which is the ratio of physical pixels over CSS px of the layout viewport on the device.

What does the DPR header do?

is a number that, in requests, indicates the client’s current Device Pixel Ratio (DPR), which is the ratio of physical pixels over CSS px of the layout viewport on the device.

Is DPR a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.