HTTP proxy based on HttpProxy, having URL filtering capability. The matcher attribute should be initialized to refer to a Matcher object. The initialization should be done in the class body as shown in the next example.
Example 4.14. URL filtering HTTP proxy |
---|
class MyHttp(HttpProxyURIFilter): matcher = RegexpFileMatcher('/etc/zorp/blacklist.txt', '/etc/zorp/whitelist.txt') |
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu