scrapy/tests/mockserver
Andrey Rakhmatullin 27092b2cb7
Small download handler fixes and improvements (#7441)
* Popen cleanup.

* Improve the test for response headers.

* Fix default headers of Httpx and H2 handlers, add tests.

* Check Location in redirect tests.

* Simplify bindaddress tests.

* Add download_latency to HttpxDownloadHandler, add tests.

* Remove explicit method="GET".

* Don't expect a specific value in test_download_with_maxsize_very_large_file

* Use a non-existent scheme in test_unsupported_scheme.

* Remporarily rollback the test_download_latency test check.

* Better check in test_download_latency.

* Improve logic for StreamCloseReason.CANCELLED.
2026-04-21 18:27:16 +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 Add a DOWNLOAD_BIND_ADDRESS setting for download handlers (#7283) 2026-03-19 09:16:40 +01:00
http_base.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
http_resources.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +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 Extract in-process test HTTP servers into separate processes (#6960) 2025-07-25 12:42:27 +05:00
utils.py TLS code modernization (#7353) 2026-03-25 15:42:43 +05:00