recall: decompress responses when performing mutation
Responses undergoing mutation (e.g. injecting JavaScript into HTML)
may be sent with the gzip or deflate Content-Encoding, in which case
they need to be decompressed before the mutate function is called.
BUG=chromium-os:23781
TEST=run_remote_tests to generate pickle, and again with it passed
Change-Id: Idc4bfa10e052be91ddad8a9a64d0611735c1565b
Reviewed-on: https://gerrit.chromium.org/gerrit/12459
Reviewed-by: Dennis Jeffrey <dennisjeffrey@chromium.org>
Reviewed-by: Nirnimesh <nirnimesh@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Commit-Ready: Scott James Remnant <keybuk@chromium.org>
1 file changed