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!
Toddh source
share