mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Update README.md
This commit is contained in:
parent
60c0131376
commit
8b1f3b2da3
@ -78,7 +78,7 @@ another.
|
||||
|
||||
The following is a simple code example of how to run the proxy with plugins:
|
||||
|
||||
```python
|
||||
```python
|
||||
from miproxy.proxy import RequestInterceptorPlugin, ResponseInterceptorPlugin, AsyncMitmProxy
|
||||
|
||||
class DebugInterceptor(RequestInterceptorPlugin, ResponseInterceptorPlugin):
|
||||
@ -103,7 +103,7 @@ The following is a simple code example of how to run the proxy with plugins:
|
||||
proxy.serve_forever()
|
||||
except KeyboardInterrupt:
|
||||
proxy.server_close()
|
||||
```
|
||||
```
|
||||
|
||||
Method Overloading
|
||||
------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user