scrapy/tests/mockserver
Andrey Rakhmatullin 7fc84d372a
Cleanup/clarifications of proxy support and improvements for proxy tests (#7496)
* Run mitmproxy-based tests for every handler and improve them.

* Fixes for H2DownloadHandler.

* Revert "Fixes for H2DownloadHandler."

This reverts commit bcdbd097cd.

* Add TestHttpsProxy for HTTP11DownloadHandler.

* Use the configured context factory in ScrapyProxyAgent.

* Reword.

* Reword.

* pragma: no cover for H2DownloadHandler proxy code.

* Raise an exception for HTTPS proxies instead of using HTTP.

* Remove non-working proxy support and explicitly forbid HTTP.

* pragma: no cover

* Add a docs note about HTTPS proxies.

* Rename ScrapyProxyAgent.
2026-05-12 17:45:54 +05:00
..
__init__.py Extract in-process test HTTP servers into separate processes (#6960) 2025-07-25 12:42:27 +05:00
dns.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
ftp.py Use a random port in MockFTPServer. (#7402) 2026-04-06 14:55:33 +02:00
http.py chore: simplify some code, get rid of nested fns where it's makes sence + pylint (#7401) 2026-05-04 23:32:46 +05:00
http_base.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
http_resources.py Enable mypy warn_return_any. (#7492) 2026-05-04 22:24:47 +02:00
mitm_proxy.py Cleanup/clarifications of proxy support and improvements for proxy tests (#7496) 2026-05-12 17:45:54 +05:00
mitm_proxy_addon.py Cleanup/clarifications of proxy support and improvements for proxy tests (#7496) 2026-05-12 17:45:54 +05:00
proxy_echo.py Extract in-process test HTTP servers into separate processes (#6960) 2025-07-25 12:42:27 +05:00
simple_https.py chore: simplify some code, get rid of nested fns where it's makes sence + pylint (#7401) 2026-05-04 23:32:46 +05:00
utils.py Enable mypy warn_return_any. (#7492) 2026-05-04 22:24:47 +02:00