{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/382","repository_url":"https://api.github.com/repos/lightbody/browsermob-proxy","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/382/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/382/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/382","id":133197405,"number":382,"title":"Rewrite response Har content","user":{"login":"Zap4ick","id":14178464,"avatar_url":"https://avatars.githubusercontent.com/u/14178464?v=3","gravatar_id":"","url":"https://api.github.com/users/Zap4ick","html_url":"https://github.com/Zap4ick","followers_url":"https://api.github.com/users/Zap4ick/followers","following_url":"https://api.github.com/users/Zap4ick/following{/other_user}","gists_url":"https://api.github.com/users/Zap4ick/gists{/gist_id}","starred_url":"https://api.github.com/users/Zap4ick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zap4ick/subscriptions","organizations_url":"https://api.github.com/users/Zap4ick/orgs","repos_url":"https://api.github.com/users/Zap4ick/repos","events_url":"https://api.github.com/users/Zap4ick/events{/privacy}","received_events_url":"https://api.github.com/users/Zap4ick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-12T09:47:50Z","updated_at":"2016-02-17T19:57:14Z","closed_at":null,"body":"Hello! My issue is to change json response from https site. I see it by getText(), then use setText(), and change its size by setSize and setBodySize. But It seems there is no effect and chrome receives the same old json... Is there a way?\r\n\r\nI think maybe the point is that \"response.getRawResponse().getEntity().getContentLength()\" somehow has old value, but i can't rewrite it :( Or the cause is different at all?"},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/185376952","html_url":"https://github.com/lightbody/browsermob-proxy/issues/382#issuecomment-185376952","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/382","id":185376952,"user":{"login":"jekh","id":9272923,"avatar_url":"https://avatars.githubusercontent.com/u/9272923?v=3","gravatar_id":"","url":"https://api.github.com/users/jekh","html_url":"https://github.com/jekh","followers_url":"https://api.github.com/users/jekh/followers","following_url":"https://api.github.com/users/jekh/following{/other_user}","gists_url":"https://api.github.com/users/jekh/gists{/gist_id}","starred_url":"https://api.github.com/users/jekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekh/subscriptions","organizations_url":"https://api.github.com/users/jekh/orgs","repos_url":"https://api.github.com/users/jekh/repos","events_url":"https://api.github.com/users/jekh/events{/privacy}","received_events_url":"https://api.github.com/users/jekh/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T19:57:14Z","updated_at":"2016-02-17T19:57:14Z","body":"@Zap4ick - Glad to hear. Were you able to successfully rewrite the body contents?"}}