How to calculate total byte sent and received by a website using javascript and jquery -
i'm doing in case of , not giving correct output in chrome.
document.getelementbyid("demo1").innerhtml = parseint(xhttp.getresponseheader("content-length"));
content-length returns length of request body in octets (8-bit bytes), why not getting correct value.
Comments
Post a Comment