Bug 76543

Summary: Web Inspector: omit compression field in HAR entries for resources coming from cache
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Andrey Kosyakov
Reported 2012-01-18 07:36:39 PST
As originally reported by Bryan McQuade, we incorrectly set compression for cached resources to original response size (sans re-validation headers for 304 resources): ==== You do set bodySize to 0 when from cache, as spec'd, but then you set compression to the full uncompressed response size as a result. ==== HAR specification suggests that we omit the compression field when no info is available.
Attachments
Patch (7.57 KB, patch)
2012-01-18 08:44 PST, Andrey Kosyakov
yurys: review+
Andrey Kosyakov
Comment 1 2012-01-18 08:44:13 PST
Andrey Kosyakov
Comment 2 2012-01-18 09:14:40 PST
Note You need to log in before you can comment on or make changes to this bug.