Merge pull request #3098 from drzax/patch-1

Fix typo in addons-overview.md
This commit is contained in:
Thomas Kriechbaumer 2018-05-05 12:34:22 +02:00 committed by GitHub
commit b4f618e801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ Here are a few things to note about the code above:
finds into the addons mechanism.
- Addons are just objects - in this case our addon is an instance of `Counter`.
- The `request` method is an example of an **event**. Addons simply implement a
method for each event they wan to handle. Each event has a signature
method for each event they want to handle. Each event has a signature
consisting of arguments that are passed to the method. For `request`, this is
an instance of `mitmproxy.http.HTTPFlow`.
- Finally, the `ctx` module is a holdall module that exposes a set of standard