Android crosswalk post请求可以拿到response header

crosswalk Android post请求可以拿到response header
原生和x5都没有找到方法
但是还是拿不到responsebody getdata返回是空


xwalkview.setResourceClient(new XWalkResourceClient(xwalkview) {

            @Override
            public void onReceivedResponseHeaders(XWalkView view, XWalkWebResourceRequest request, XWalkWebResourceResponse response) {
                Log.d("keykeykeykey", "++++" + request.getUrl().toString());

                for (String key : response.getResponseHeaders().keySet()) {
                    Log.d("keykeykeykey", key + "|||" + response.getResponseHeaders().get(key));
                }
                Log.d("requestrequest", "++++" + request.getUrl().toString());
                for (String key : request.getRequestHeaders().keySet()) {
                    Log.d("requestrequest", key + "|||" + request.getRequestHeaders().get(key));
                }
                super.onReceivedResponseHeaders(view, request, response);
            }
        });

你可能感兴趣的:(Android crosswalk post请求可以拿到response header)