from stoobly_agent.app.proxy.context import InterceptContext
from stoobly_agent.config.constants import record_policy, replay_policy
def handle_before_response(context: InterceptContext):
intercept_settings = context.intercept_settings
flow = context.flow
response = flow.response
response.content = b'<NEW-CONTENT>'