proxy.py/proxy/plugin
Mike aedf5933f2
Add plugin "FilterByURLRegexPlugin" (#397)
* Initial draft of filter_by_url_regex.py

* Add FilterByURLRegexPlugin

* Fix dictionary key & add logging

* Add proper logging

* Add better logging

* Add logging

* move code to handle_client_request

* development logging

* development

* development

* development

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* Fix blocked log

* Add to FILTER_LIST, some tidy up

* Update FILTER_LIST

* dev

* remove scheme from url

* Add to FILTER_LIST

* Add to FILTER_LIST

* Update FILTER_LIST

* commenting

* Update FILTER_LIST

* After autopep8

* Fix Anomalous backslash in string (pep8)

* Address code quality checks - flake8 F401 & W605

* Address flake8 errors

* Attempt to fix flake8 errors

* Fix linting issues

* Address flake8 W292

* Attempt to create tests

* Add FilterByURLRegexPlugin

* Rename test

* Work on tests

* Work on tests

* Work on tests

Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2020-07-13 10:40:34 +05:30
..
cache (#258) Fix generation of certif -> chg Time.time() to self.uid.int (#258) 2020-02-01 08:51:25 -08:00
__init__.py Add plugin "FilterByURLRegexPlugin" (#397) 2020-07-13 10:40:34 +05:30
filter_by_client_ip.py Add FilterByClientIpPlugin example (#381) 2020-06-21 21:57:03 +05:30
filter_by_upstream.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
filter_by_url_regex.py Add plugin "FilterByURLRegexPlugin" (#397) 2020-07-13 10:40:34 +05:30
man_in_the_middle.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
mock_rest_api.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
modify_chunk_response.py Add cross ref for how to generate SSL certs. (#401) 2020-07-12 21:24:20 +05:30
modify_post_data.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
proxy_pool.py Fix ProxyPoolPlugin.rebuild_original_path 2020-02-01 10:16:19 -08:00
redirect_to_custom_server.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
reverse_proxy.py Refactor (#213) 2019-12-01 22:46:00 -08:00
shortlink.py Make connection queue / recv work with memoryview to avoid copies (#192) 2019-11-26 17:59:26 -08:00
web_server_route.py Add support for regex based routing. Fixes #203 (#211) 2019-12-01 20:57:05 -08:00