Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

bodySize wrong values #10169

Closed
ariya opened this issue Jul 13, 2011 · 5 comments
Closed

bodySize wrong values #10169

ariya opened this issue Jul 13, 2011 · 5 comments

Comments

@ariya
Copy link
Owner

ariya commented Jul 13, 2011

[email protected] commented:

Used version: PhantomJS 1.2.0 Windows executable
Operating system: WinXP, Win7

There are very often not correct values of "bodySize" which did not correspond with real sizes of downloaded elements.

Optimal would to report by "bodySize" values information about sizes of elements as are comming into browser from server. That means e.g. size of gzipped elemnts for http/text.

Radek Penizek

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #169.
🌟   5 people had starred this issue at the time of migration.

@yaroslav-ilin
Copy link

Looks like I've got the same problem at #10412

@ariya
Copy link
Owner Author

ariya commented May 23, 2012

[email protected] commented:

I am quite often seeing a bodySize of 8192, which seems to indicate that phantom is reporting the size of a single block. Even if the server is reporting the size wrong in the header, it would be awesome if phantom could download the resource and calculate a true filesize.

@gurdenbatra
Copy link

Hey, is anyone looking into this issue? If not, can someone point me to the right places/resources so that I can look into fixing it? Thanks.

@cvan
Copy link

cvan commented Jun 25, 2014

I have solved this on my own project, and oh boy it was a doozie. I will most certainly upstream a patch to phantomas.

@zackw
Copy link
Contributor

zackw commented Apr 19, 2015

This seems likely to be the same as issue #10156.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants