Such as unfamiliar street HttpURLConnection use for communication APP can not do it
Fiddler also need to be set as follows:
点击"Rules->CustomizeRules";
Added after the function OnBeforeResponse
if (oSession.oRequest["User-Agent"].indexOf("Android")> -1 && oSession.HTTPMethodIs("CONNECT")) {oSession.oResponse.headers["Connection"] = "Keep-Alive"; }
As shown below:
Here's "Android" can be replaced with a User-Agent in the other characters, to ensure that the match on the line User-Agent
The following is an example of packet capture: