<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>32026</bug_id>
          
          <creation_ts>2009-12-01 09:34:09 -0800</creation_ts>
          <short_desc>Web Inspector: In addition to the # of HTTP headers, it would be nice to show the size (in bytes).</short_desc>
          <delta_ts>2023-09-04 22:43:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix, GoodFirstBug, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>155112</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Feldman">pfeldman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex.stapleton</cc>
    
    <cc>bweinstein</cc>
    
    <cc>graouts</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>karlcow</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>robert.colburn+bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>167656</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-12-01 09:34:09 -0800</bug_when>
    <thetext>In addition to the # of HTTP headers, it would be nice to show the size (in bytes).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167716</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Mueller">pmuellr</who>
    <bug_when>2009-12-01 13:16:32 -0800</bug_when>
    <thetext>The size of the headers, in bytes?  

Curious why you&apos;d want that, I can&apos;t think of any other web framework (client or server) that provides that info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167723</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-12-01 13:25:52 -0800</bug_when>
    <thetext>It is useful to know the full cost of the request/response.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167779</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick Mueller">pmuellr</who>
    <bug_when>2009-12-01 16:30:43 -0800</bug_when>
    <thetext>Just to add to the list, then, use of &quot;transfer-encoding: chunked&quot; incurs additional overhead on the transfer of the payload.  Typically not much, and probably inconsequential.  But something.

And for some reason, I&apos;m thinking we may not be seeing all the headers.  Isn&apos;t a system framework used for HTTP access on Mac?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167805</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-12-01 17:38:39 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; And for some reason, I&apos;m thinking we may not be seeing all the headers.  Isn&apos;t
&gt; 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&apos;s list:
https://bugs.webkit.org/show_bug.cgi?id=24272#c2

&gt; Without actually investigating these, here is a couple of guesses that may be
&gt; relevant:
&gt; - the missing headers are likely those added by NSURLConnection, which is why
&gt; WebKit doesn&apos;t know about these;
&gt; - it should be possible to store the actual request in
&gt; connection:willSendRequest:redirectResponse: delegate call (see comment about
&gt; &lt;rdar://problem/5380697&gt; there).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214063</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Stapleton">alex.stapleton</who>
    <bug_when>2010-04-19 09:34:57 -0700</bug_when>
    <thetext>I&apos;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 &quot;x kB transferred&quot; when dealing with compressed data but it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>620979</commentid>
    <comment_count>6</comment_count>
    <who name="Rob Colburn">robert.colburn+bugzilla</who>
    <bug_when>2012-05-10 14:25:09 -0700</bug_when>
    <thetext>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&apos;re eager for the info, Fiddler will provide it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056410</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-17 11:21:48 -0800</bug_when>
    <thetext>&lt;rdar://problem/19281487&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1296911</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-04-12 19:08:09 -0700</bug_when>
    <thetext>With Bug 155112 Web Inspector will have all of the data we need to show the sizes in Web Inspector. I&apos;ll keep this open to track showing the header sizes in Web Inspector somewhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975462</commentid>
    <comment_count>9</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-09-04 22:43:29 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>