proxy.py/proxy/plugin
Abhinav Singh d9200fd082
Response bodies can be empty or missing + HttpParser refactoring (#688)
* Responses can have None body, remove assertions, update modify chunk plugin to not modify chunks for responses with no content

* Address mypy warning after removing assertion

* Reusable get_body_or_chunks

* Order methods by public/private, mark private ones with _ prefix

* HttpParser.url deprecation notice (renamed to _url).  Add zero-copy todo
2021-11-06 22:07:11 +05:30
..
cache Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
__init__.py CustomDnsResolver plugin, CloudflareDnsResolver plugin, Allow plugins to configure network interface (#671) 2021-11-05 07:36:02 +05:30
adblock.json v3.4.0 (#638) 2021-10-30 04:32:05 +05:30
cloudflare_dns.py Fix python 3.10 @ ubuntu pytest ignore (#685) 2021-11-06 17:25:32 +05:30
custom_dns_resolver.py CustomDnsResolver plugin, CloudflareDnsResolver plugin, Allow plugins to configure network interface (#671) 2021-11-05 07:36:02 +05:30
filter_by_client_ip.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
filter_by_upstream.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
filter_by_url_regex.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
man_in_the_middle.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
mock_rest_api.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
modify_chunk_response.py Response bodies can be empty or missing + HttpParser refactoring (#688) 2021-11-06 22:07:11 +05:30
modify_post_data.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
proxy_pool.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
redirect_to_custom_server.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
reverse_proxy.py Use core loop for reverse proxy async IO operations (#675) 2021-11-05 15:55:56 +05:30
shortlink.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30
web_server_route.py Use core loop for reverse proxy async IO operations (#675) 2021-11-05 15:55:56 +05:30