Bug 188363 - [Curl] Request header size is incorrectly reported in NetworkLoadMetrics
Summary: [Curl] Request header size is incorrectly reported in NetworkLoadMetrics
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-06 16:12 PDT by Don Olmstead
Modified: 2018-08-07 15:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2018-08-06 16:12:09 PDT
cURL does not expose a way to determine the request header size. Only the total size of the request is available.
Comment 1 Joseph Pecoraro 2018-08-07 15:30:03 PDT
Can you get the total and subtract out other sections?
Comment 2 Don Olmstead 2018-08-07 15:37:38 PDT
(In reply to Joseph Pecoraro from comment #1)
> Can you get the total and subtract out other sections?

Yes we can but I was thinking about taking a stab at it inside of cURL itself rather than doing the math. Seemed less intrusive and the maintainers seemed fine with that being exposed. The functionality is there for the response.