Add HTTP Client-Hint headers to outgoing requests
Extension to allow Client-Hints header to be set for testing / experimentation purposes.
Client-Hints (CH-*:) HTTP Header is proposed as a way of allowing browsers to communicate details of screen height, width and display pixel ratio to servers so that the server can return resources, especially images, that are optimised.
See https://github.com/igrigorik/http-client-hints for more on the Client-Hints proposal
Source code for extension can be found on GitHub - https://github.com/andydavies/Client-Hints- pull requests welcomed.
Latest reviews
- (2022-07-13) Galen Wright-Watson: Sends only the DPR (device pixel ratio) hint, which is deprecated, and none of the other client hints, such as user-agent hints or network hints. Additionally, causes cross-origin CORS errors on subdomains (which aren't actually cross-origin).
- (2013-11-12) Ed Thurgood: Helpful for checking out Client Hints concept. Seems to work fine for me
- (2013-10-02) Richard Persson: It doesn't work, so not sure why it is posted as an extension?