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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -