I wanted to perform a string substitution that could be more dynamic than what was already supported, so I added support for using lambda functions as replacement arguments.
While implementing my changes, I also made a slight modification to encode_content to better handle content passed to it and removed the mitmproxynet import since it is not necessary since this commit.
I wanted to perform a string substitution that could be more dynamic than what was already supported, so I added support for using lambda functions as replacement arguments.
While implementing my changes, I also made a slight modification to
encode_content
to better handle content passed to it and removed themitmproxy
net
import since it is not necessary since this commit.