scrapy/tests/mockserver
Andrey Rakhmatullin f7db039d1c
Update the TLS code to Twisted 26.4.0 (#7347)
* Unpin Twisted, add a twisted-trunk tox env (without http2 for now).

* Hide the _setAcceptableProtocols import.

* Silence ScrapyClientContextFactory HTTP/1.0 warnings.

* Update ScrapyClientTLSOptions for unreleased Twisted.

* Add twisted-trunk to CI.

* Update for new changes in Twisted trunk.

* Xfail a test failing with newer Twisted.

* Test Twisted trunk with extra-deps, update the ALPN code.

* Cleanup.

* Fix typing.

* Update relevant type hints for Twisted trunk.

* Update test_no_context_sharing().

* Silence a weird mypy error.

* Update Twisted versions, unpin pyOpenSSL.

* Update a comment.

* Silence pylint.

* Make a factory fixture.

* Improve the _setAcceptableProtocols comment.

* Set OP_LEGACY_SERVER_CONNECT on new Twisted too.

* Add Twisted[http2] to extra-deps-pinned.
2026-05-12 18:22:31 +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 Update the TLS code to Twisted 26.4.0 (#7347) 2026-05-12 18:22:31 +05:00