So to get the length of a response, just call request.getResponseHeader("Content-Length");.
因此要获取响应的长度,只需要调用 request.getResponseHeader("Content-Length");。
In this method, we get the Content-Length from the header in the response object.
此方法中,我们从响应对象的头部获取Content - Length。
In this method, we get the Content-Length from the header in the response object.
此方法中,我们从响应对象的头部获取Content - Length。
应用推荐