web-page-replay icon indicating copy to clipboard operation
web-page-replay copied to clipboard

'httparchive.py edit' does not change content-length header

Open kilobtye opened this issue 8 years ago • 2 comments

Content-length in 'headers' is changed, but 'original_headers' is saved in the archive now.

kilobtye avatar Jul 27 '16 01:07 kilobtye

Can you clarify how to reproduce this bug?

nedn avatar Sep 02 '16 13:09 nedn

Well, I don't know if anyone else use this feature...

Individually run httparchive.py edit ... can edit response content in a recorded .wpr file. Content-length should be changed accordingly, but the change is not saved.

Change self.headers to self.original_headers inside set_header() can solve this issue.

kilobtye avatar Sep 05 '16 10:09 kilobtye