Open kilobtye opened 8 years ago
Can you clarify how to reproduce this bug?
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.
Content-length in 'headers' is changed, but 'original_headers' is saved in the archive now.