proxy - Charles - How to rewrite a HTTP response encoded in GZIP? -



proxy - Charles - How to rewrite a HTTP response encoded in GZIP? -

i trying alter body of http response (for debugging purposes) using charles webproxy. however, response gziped , when modify in body (using tools-->rewrite options) 2 problems emerge:

the content-length header not updated reflect new info i've added response. have manually update myself. even if update content-length manually, seems new gzip body invalid (ie, not gziped correctly).

i can't remove content-encoding: gzip request because don't have command on code consumes response. code expecting gzip body , fails parse info if remove gzip encoding response removing content-encoding: gzip request.

how can modify gziped response body using charles?

http proxy rewrite gzip charles

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -