sitespeedio / chrome-har

Create HAR files from Chrome Debugging Protocol data
MIT License
148 stars 50 forks source link

Pass encoding from response to entry #78

Closed phaer closed 1 year ago

phaer commented 3 years ago

Chromium seems to add an attribute encoding: "base64" to each response.content where text is a base64 encoded binary, to HAR files exported via DevTools UI. This patch allows library users to set encoding themselves whenever needed.