Stoobly / stoobly-agent

Record, mock, and test HTTP/HTTPS requests. CLI agent for Stoobly.
Other
6 stars 0 forks source link

Filters not applying to replay and record #53

Closed Jvlythical closed 2 years ago

Jvlythical commented 2 years ago

Replay and record is treated as just record. When a the agent is running in record mode, it won't try to rewrite parameters.

Fix: Add support for X-Response-Proxy-Mode header to allow dual mode operations. In this case, we want on request to operate in replay mode and on response to operate in record mode.

Jvlythical commented 2 years ago

https://github.com/Stoobly/stoobly-agent/commit/6aba2cd39445c122667d67cd3c4c514634f362bd