Hi All, Our image server is supporting convert image from jpge to webp, but we need to add "Accept: image/webp" header on the image request to let server know the client supports Webp format image.
But on Android View, the default Header is "Accept: */*", how to add header "Accept: image/webp" to http requests of images to get webp format image? We tried loadUrl (String url, Map<String, String> additionalHttpHeaders) to set the header, but the value was overrided by the android default value. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAEMMVDLrPEp5JSW1msJ3XuLMF0%2Biry%2B7fZrmbh5ejiXy-%3DEo%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

