Skip to content

Commit 1a3c082

Browse files
committed
Hide Content Size if it’s same as Content-Length.
1 parent edc5790 commit 1a3c082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ts/waterfall/details-overlay/extract-details-keys.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function parseResponseDetails(harEntry: Entry): KvTuple[] {
104104
dateHeader("Last-Modified"),
105105
stringHeader("Pragma"),
106106
byteSizeProperty("Content-Length", contentLength),
107-
["Content Size", (contentLength !== content.size.toString() ? formatBytes(content.size) : "")],
107+
["Content Size", (contentLength !== content.size.toString() ? formatBytes(content.size) : undefined)],
108108
byteSizeProperty("Content Compression", content.compression),
109109
stringHeader("Connection"),
110110
stringHeader("ETag"),

0 commit comments

Comments
 (0)