HTTP Head method Content-Length does not match with size on “View Page info”

一个人想着一个人 提交于 2019-12-13 01:31:44

问题


Please forgive my lack of understanding on this subject. I had bunch of urls that I am interested to know the size of its web page. So, I used HTTP Head req method to get the Content-Length. I verified the Content-Length values generated from Head method by opening some of those urls in a browser (I used Firefox) and checking the "View Page Info" (from right-click on website in browser) option that gives the "Size:".

For most of the urls, both the values matches but not for some. I wonder why is that?

来源:https://stackoverflow.com/questions/23345225/http-head-method-content-length-does-not-match-with-size-on-view-page-info

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!