Skip to content

Commit

Permalink
Hide Content Size if it’s same as Content-Length.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobli committed Feb 8, 2017
1 parent edc5790 commit 1a3c082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/waterfall/details-overlay/extract-details-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function parseResponseDetails(harEntry: Entry): KvTuple[] {
dateHeader("Last-Modified"),
stringHeader("Pragma"),
byteSizeProperty("Content-Length", contentLength),
["Content Size", (contentLength !== content.size.toString() ? formatBytes(content.size) : "")],
["Content Size", (contentLength !== content.size.toString() ? formatBytes(content.size) : undefined)],
byteSizeProperty("Content Compression", content.compression),
stringHeader("Connection"),
stringHeader("ETag"),
Expand Down

0 comments on commit 1a3c082

Please sign in to comment.