How to install Referer on Android browser in KitKat and up

KitKat got a new Chromium-based web interface, but now it no longer skips the Referer header. I always did the following (which has always been used, but with KitKat no longer works):

headers.put("Referer", referrer);
webView.loadUrl(someUrl, headers);

Debugging with Charles Proxy, I see that the Referer header is not being transmitted. If I rename the title to something like "Referrer" (with two r), it will go fine, although this is not a solution, since the title is a Referer with one r.

If anyone has a working solution for transferring the Referer header in Android WebView to KitKat and above, I would appreciate any help!

+4
source share
1

. . Android 4.4.3 4.4.4, "Referer" ( ). !

+1

All Articles