# Server\_replay\_ignore\_params usage

**URL:** <https://discourse.mitmproxy.org/t/server-replay-ignore-params-usage/1093>\
**Category:** help\
**Created:** [June 6, 2018, 7:10pm UTC](https://discourse.mitmproxy.org/t/server-replay-ignore-params-usage/1093 "2018-06-06T19:10:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![igokoro](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@igokoro](https://discourse.mitmproxy.org/u/igokoro)\
**Post date:** [June 6, 2018, 7:10pm UTC](https://discourse.mitmproxy.org/t/server-replay-ignore-params-usage/1093/1 "2018-06-06T19:10:26Z")

</div>

Hi,

I’m trying to exclude some of the request query params from the server replay request matching by utilizing server\_replay\_ignore\_params option:

> mitmproxy --server-replay previously-saved-flows --server-replay-kill-ext --set server\_replay\_ignore\_params=App

With the above, I can see “App” as a value for server\_replay\_ignore\_params under options view in cmd interface. But my previously recorded response with “App=a1” does not replay for a request with “App=a2”. Can’t quite figure out why. I wonder if someone can help with this.

And 1 more question that I’ve got is how to specify multiple query params to ignore during the replay? Specifying multiple “–set server\_replay\_ignore\_params=value” params keeps only the latest value…

---

<div class="post-metadata">

**Author:** ![igokoro](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@igokoro](https://discourse.mitmproxy.org/u/igokoro)\
**Post date:** [June 6, 2018, 8:25pm UTC](https://discourse.mitmproxy.org/t/server-replay-ignore-params-usage/1093/2 "2018-06-06T20:25:09Z")

</div>

Ran mitmproxy from source and performed some more digging. It turns out that “–set server\_replay\_ignore\_params=App” is not picked when set this way. It does show up in the Options view but in runtime, “ctx.options.server\_replay\_ignore\_params” is empty. I had to manually edit “server\_replay\_ignore\_params” value in the Options view and only after that “ctx.options.server\_replay\_ignore\_params” started properly reflecting the value I set.

It looks like a defect to me. Thoughts?
