ericduran / chromeHAR

HAR viewer that mimics (or at least tries really hard to) Chromes network tab
https://ericduran.github.io/chromeHAR
MIT License
497 stars 132 forks source link

fix negative response size #75

Open khiav223577 opened 7 years ago

khiav223577 commented 7 years ago

headersSize and bodySize may be -1 in my HAR files I'm not sure why. I just downloaded them by chrome's dev tools.

And it causes the size to be -2B

image

The correct size showing in chrome network tools is: image

After the fix: image