Add Accept header on image loads from expo-image
Renaud Chaput
Expo should add an
Accept
header to HTTP queries used to load images, with the list of supported formats (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept)This allows on-the-fly image format selection, to serve the most optimised file supported by the device (for example with https://docs.imgproxy.net/configuration/options#avifwebpjpeg-xl-support-detection)