java - WebView with custom HTTP client -
my task load web site in webview on https unsupported vanilla android tls cipher. right proof of concept have implemented apache http client capable of doing http requests such resources.
what best approach make webview use custom client implementation network requests?
actually, accepted answer wrong. not full information; what's missing request bodies.
so can implement or head requests fine, post requests trickier.
i haven't seen solution yet. 1 i've come across uses javascript inserted page collect post data, hand java via binding https://developer.android.com/guide/webapps/webview.html#bindingjavascript , performs request in java.
unfortunately, webview try perform same request again, need add more hackery make work.
Comments
Post a Comment