This is a migrated thread and some comments may be shown as answers.

Har file has no line delimiters?

1 Answer 67 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Yuriy
Top achievements
Rank 1
Yuriy asked on 04 Nov 2015, 12:36 PM

A while ago I wrote a simple .har parser which I still use sometimes. It works perfectly fine for the files from FF and Chrome. Recently I have tried Fiddler and found it very useful, however, my parser failed to parse Fiddler' .har

When I looked into this .har I can see it has no line delimiters which makes it hard to parse.

Has it been done on purpose or I can change it somehow? Basically, I would like to have the same format as produced by Chrome and FF

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 04 Nov 2015, 06:36 PM
Hi, Yuriy--

The HAR specification formats the data as JSON and does not call for line feeds anywhere within the file. As such, Fiddler does not insert line feeds anywhere within the file.

I'm not aware of any JSON parsers that expect line feeds.

Regards,
Eric Lawrence
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
Yuriy
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or