HAR
From Just Solve the File Format Problem
(Difference between revisions)
(Category:JSON based file formats) |
Ross-spencer (Talk | contribs) (Add expected fields) |
||
Line 8: | Line 8: | ||
.har files are raw HAR, while .harp files are HAR enclosed in a callback function for use as [[JavaScript]] code. | .har files are raw HAR, while .harp files are HAR enclosed in a callback function for use as [[JavaScript]] code. | ||
+ | |||
+ | == Expected fields and objects == | ||
+ | |||
+ | * version [string] | ||
+ | * creator [object] | ||
+ | * browser [object, optional] | ||
+ | * pages [array, optional] | ||
+ | * entries [array] | ||
+ | * comment [string, optional] (new in 1.2) | ||
== Specs == | == Specs == |
Revision as of 20:04, 16 April 2025
HAR (HTTP Archive) is a format based on JSON for saving a record of a Web access, including the HTTP request and response headers used to retrieve a document, and timing information on how long each part took to load. They can be used in server analysis and in archiving of Web data. HAR files are required to be encoded in the UTF-8 character encoding.
.har files are raw HAR, while .harp files are HAR enclosed in a callback function for use as JavaScript code.
Contents[hide] |
Expected fields and objects
- version [string]
- creator [object]
- browser [object, optional]
- pages [array, optional]
- entries [array]
- comment [string, optional] (new in 1.2)