You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I experience some troubles since some of my produced HAR files are bigger than 10MB.
After browsing the code, I'd want to have your attention on this piece of code :
BrowserMobHttpClient.java; arround line 736 (in beta 8, not released) :
a javascript content, with an application/javascript Content-Type header will be rendered in the HAR file as Base64 encoded. I don't think it should be, since text/javascript is not. I think there are other similar cases with other content types.
all contents are copied in the HAR file if captureContent property is true. I experienced an HAR file of 30MB... I think an additional configuration method could be usefull (setCapturedContents(List mimeTypes) ?), method that should be exposed in the ProxyServer as captureContent(boolean) existing one.
I have these needs in a student project, I'm probably going to do the changes, but I would be glad to have your opinions, and to know if publishing the changes could help someone.
The text was updated successfully, but these errors were encountered:
I agree that we should not Base64 encode application/javascript. If you can submit a pull request that supports additional "plain text" content types I would be glad to accept them.
You're right that HAR files can get VERY large when you start capturing the content of every request. I'm open to ideas on how to limit that, such as configuration for limiting the size of each body or limited the capturing of the content only to certain URLs or file types.
I experience some troubles since some of my produced HAR files are bigger than 10MB.
After browsing the code, I'd want to have your attention on this piece of code :
BrowserMobHttpClient.java; arround line 736 (in beta 8, not released) :
I think there are 2 issues here :
I have these needs in a student project, I'm probably going to do the changes, but I would be glad to have your opinions, and to know if publishing the changes could help someone.
The text was updated successfully, but these errors were encountered: