HAR
From Just Solve the File Format Problem
(Difference between revisions)
Ross-spencer (Talk | contribs) (→Expected fields and objects) |
Ross-spencer (Talk | contribs) (→Other links) |
||
Line 48: | Line 48: | ||
* [[Wikipedia:.har|Wikipedia article]] | * [[Wikipedia:.har|Wikipedia article]] | ||
* [http://www.speedawarenessmonth.com/what-is-a-har-file-and-what-do-i-use-it-for/ What is a HAR File and what do I use it for?] | * [http://www.speedawarenessmonth.com/what-is-a-har-file-and-what-do-i-use-it-for/ What is a HAR File and what do I use it for?] | ||
+ | * [https://gist.github.com/igrigorik/3495174 Example HAR Export] | ||
[[Category:Archiving]] | [[Category:Archiving]] | ||
[[Category:JSON based file formats]] | [[Category:JSON based file formats]] |
Latest revision as of 20:13, 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] |
[edit] Expected fields and objects
Within a log
object:
- version [string]
- creator [object]
- browser [object, optional]
- pages [array, optional]
- entries [array]
- comment [string, optional] (new in 1.2)
[edit] Example
{ "log": { "version": "1.2", "creator": {}, "browser": {}, "pages": [], "entries": [], "comment": "" } }