Is there any way an application can provide the WebView with a connection to use? Seems like with shouldInterceptRequest you can only provide content and not a connection to use. shouldOverrideUrlLoading does not help as well. Can you think of some other way?
In none, then this means that if you want SDCH in a WebView you have to override shouldInterceptRequest modify the headers to report SDCH support and then provide a SDCH codec to parse the responses. Basically duplicating the SDCH implementation already in the system. Lots of delicate code which effectively duplicate what the OS already implemented.
Is there a reason why SDCH is disabled for a WebView? Any plans to enable it?