Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Jul 5, 2024
1 parent 35f2091 commit a4b0f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mitmproxy_addons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ POST /options/unlock
}
```

Tests will lock/unlock whenever they need to interact with mitmproxy.
Tests will lock/unlock whenever they need to interact with mitmproxy. Attempting to lock an already locked controller will return an HTTP 400 error. Attempting to unlock an already unlocked controller will return an HTTP 400 error.

### Callback addon

Expand All @@ -56,7 +56,7 @@ Available configuration options are optional:
requests BEFORE they reach the server.
- `callback_response_url`: the URL to send inbound responses to. This allows callbacks to modify
response content.
- `filter`: the mitmproxy filter to apply. If unset, ALL requests are eligible to go to the callback
- `filter`: the [mitmproxy filter](https://docs.mitmproxy.org/stable/concepts-filters/) to apply. If unset, ALL requests are eligible to go to the callback
server.

To use this with the controller API, you would send an HTTP request like this:
Expand Down

0 comments on commit a4b0f9c

Please sign in to comment.