RESOLVED CONFIGURATION CHANGED32026
Web Inspector: In addition to the # of HTTP headers, it would be nice to show the size (in bytes).
https://bugs.webkit.org/show_bug.cgi?id=32026
Summary Web Inspector: In addition to the # of HTTP headers, it would be nice to show...
Pavel Feldman
Reported 2009-12-01 09:34:09 PST
In addition to the # of HTTP headers, it would be nice to show the size (in bytes).
Attachments
Patrick Mueller
Comment 1 2009-12-01 13:16:32 PST
The size of the headers, in bytes? Curious why you'd want that, I can't think of any other web framework (client or server) that provides that info.
Timothy Hatcher
Comment 2 2009-12-01 13:25:52 PST
It is useful to know the full cost of the request/response.
Patrick Mueller
Comment 3 2009-12-01 16:30:43 PST
Just to add to the list, then, use of "transfer-encoding: chunked" incurs additional overhead on the transfer of the payload. Typically not much, and probably inconsequential. But something. And for some reason, I'm thinking we may not be seeing all the headers. Isn't a system framework used for HTTP access on Mac?
Joseph Pecoraro
Comment 4 2009-12-01 17:38:39 PST
(In reply to comment #3) > And for some reason, I'm thinking we may not be seeing all the headers. Isn't > a system framework used for HTTP access on Mac? Patrick you may be right. Here was a comment made on a different bug I added about headers not showing up in the Web Inspector's list: https://bugs.webkit.org/show_bug.cgi?id=24272#c2 > Without actually investigating these, here is a couple of guesses that may be > relevant: > - the missing headers are likely those added by NSURLConnection, which is why > WebKit doesn't know about these; > - it should be possible to store the actual request in > connection:willSendRequest:redirectResponse: delegate call (see comment about > <rdar://problem/5380697> there).
Alex Stapleton
Comment 5 2010-04-19 09:34:57 PDT
I'd love to see this info in the web inspector. My use case is a bit weird (target devices only have GRPS connectivity) but I can imagine it being useful in the more general case too. The current web inspector is also ever so slightly misleading in that is says "x kB transferred" when dealing with compressed data but it's actually only counting content bytes and not headers. This can be moderately significant if you are an AJAX heavy site that makes lots of small requests.
Rob Colburn
Comment 6 2012-05-10 14:25:09 PDT
We now have a Timing tab for each request and a Size column, has there been any progress in obtaining the total number of bytes? Tip: If you're eager for the info, Fiddler will provide it.
Radar WebKit Bug Importer
Comment 7 2014-12-17 11:21:48 PST
Joseph Pecoraro
Comment 8 2017-04-12 19:08:09 PDT
With Bug 155112 Web Inspector will have all of the data we need to show the sizes in Web Inspector. I'll keep this open to track showing the header sizes in Web Inspector somewhere.
Karl Dubost
Comment 9 2023-09-04 22:43:29 PDT
In Network Tab of Web Inspector, Click on the resource, Then on the right panel on Sizes. The headers size and the body size are shown.
Note You need to log in before you can comment on or make changes to this bug.