Commit Graph

9578 Commits

Author SHA1 Message Date
Adrián Chaves 7bb5289ced Cover additional behavior changes in tests 2023-01-10 21:11:57 +01:00
Adrián Chaves 86baef02a0 Test Content-Encoding against Content-Disposition, URL and body 2023-01-10 20:51:43 +01:00
Adrián Chaves ff37b274a6 Remove unused variable 2023-01-10 20:09:16 +01:00
Adrián Chaves deab93b243 Remove duplicate test 2023-01-10 19:04:52 +01:00
Adrián Chaves fc2833d6bd Fix _get_encoding_or_mime_type_from_headers handling on comma-separated Content-Encoding values 2023-01-10 18:32:27 +01:00
Adrián Chaves ee6f5c56b2 Support multi-encoding Content-Encoding headers 2023-01-10 17:55:35 +01:00
Adrián Chaves c34853100a Revert changes on the deprecated decompression module 2023-01-10 17:00:33 +01:00
Adrián Chaves 68fccc9f04 Test that Content-Disposition takes precedence over body 2023-01-10 16:45:33 +01:00
Adrián Chaves f538252d3b crazy_case → odd_capitalize 2023-01-10 16:40:21 +01:00
Adrián Chaves 14464388e8 Address flake8 issues 2023-01-10 16:38:42 +01:00
Adrián Chaves dd4f4f094e Test handling of feeds mislabeled as HTML 2023-01-10 16:33:54 +01:00
Adrián Chaves 2178521a79 Make sure that supplied “unknown” MIME types from Content-Type are ignored 2023-01-10 13:41:36 +01:00
Adrián Chaves 8908151608 Test that MIME parameters do not break response class choice 2023-01-10 13:01:25 +01:00
Adrián Chaves 45b95c63d7 Address issues reported by pylint 2023-01-10 11:30:06 +01:00
Adrián Chaves e7e201d0b9 Extend tests covering body-based response class choice 2023-01-10 11:15:56 +01:00
Adrián Chaves eef1f127de test_response_class_choosing_request: update after recent changes 2023-01-10 07:43:14 +01:00
Adrián Chaves fcc9e90553 Wrap XHTML with XmlResponse 2023-01-10 07:30:40 +01:00
Adrián Chaves 24e63f3294 Remove unused imports 2023-01-08 17:28:34 +01:00
Adrián Chaves 716561972b Fix typing issues 2023-01-08 17:27:55 +01:00
Adrián Chaves 827de3d288 Finish cleaning up POST_XTRACTMIME_SCENARIOS 2023-01-08 17:22:12 +01:00
Adrián Chaves 711a6093e1 Finish cleaning up PRE_XTRACTMIME_SCENARIOS 2023-01-08 17:02:56 +01:00
Adrián Chaves b2f2788bd4 Add tests for binary-vs-text body 2023-01-08 16:36:35 +01:00
Adrián Chaves f9f9d61457 Always prefer Content-Type over Content-Disposition 2023-01-08 15:46:32 +01:00
Adrián Chaves e7d36a305d Ignore file path extensions in HTTP responses 2023-01-08 14:24:54 +01:00
Adrián Chaves 1c16989545 Upgrade xtractmime on pinned CI environments 2023-01-08 13:23:43 +01:00
Adrián Chaves fa3ba512d9 Uncomment test scenarios 2023-01-08 13:21:36 +01:00
Adrián Chaves d319b62d16 Fix typing issues 2023-01-08 13:01:14 +01:00
Adrián Chaves f029be3aa7 Fix Apache bug handling 2023-01-08 12:55:17 +01:00
Adrián Chaves 0d86d845e8 Silence a test warning caused by pytest-cov 2023-01-08 11:53:36 +01:00
Adrián Chaves 112b232023 Silence the scrapy.responsetypes deprecation warning in tests 2023-01-08 11:47:38 +01:00
Adrián Chaves 160096b7cf pytest-cov: 3.0.0 → 4.0.0
Removes 2 warnings when running tests
2023-01-08 11:43:52 +01:00
Adrián Chaves e96b07bd4b flake8: ignore failing file for the time being 2023-01-08 11:38:46 +01:00
Adrián Chaves c6d416c69f Merge remote-tracking branch 'upstream/master' into integrate-mime 2023-01-08 11:25:00 +01:00
Andrey Rakhmatullin 90a52957e6
Merge pull request #5786 from Gallaecio/ci-pypy
Minimum cryptography: 3.3 → 3.4.6
2023-01-08 00:48:40 +05:00
Adrián Chaves 16546564f6 Minimum cryptography: 3.3 → 3.4.6 2023-01-06 20:16:54 +01:00
Adrián Chaves 724b033287
Fix CI issues related to asyncio (#5782) 2023-01-06 19:51:07 +01:00
Adrián Chaves fd6742e811
Fix tests for pygments 2.14 (#5783) 2023-01-02 19:13:31 +01:00
Andrey Rakhmatullin 3e03004b3c
Merge pull request #5781 from Gallaecio/ci-clang
Remove Reppy from CI
2023-01-02 20:13:45 +05:00
Andrey Rakhmatullin 80d35a777d
Merge pull request #5780 from Gallaecio/ci
Fix test_pinned_twisted_version
2023-01-02 20:12:52 +05:00
Adrián Chaves 016d1de64e Remove Reppy from CI 2023-01-02 14:13:04 +01:00
Adrián Chaves 6084e8f627 Do not use -U for pip in Tox 2023-01-02 14:00:37 +01:00
Adrián Chaves e47ada2c7c Add CC to tox.ini:[testenv]passenv 2023-01-02 13:49:25 +01:00
Adrián Chaves c4d7f5e7a9 Use CLang to build Reppy 2023-01-02 13:41:08 +01:00
Adrián Chaves b336980bd1 Merge remote-tracking branch 'upstream/master' into integrate-mime 2023-01-02 13:14:39 +01:00
Laerte Pereira deaf1fb6cf
Stop using setup.py (#5776) 2022-12-31 20:11:45 +01:00
Steve Niafas 7ae32ea38d
Fix transparency for processed webp images (#5767) 2022-12-22 14:33:14 +01:00
Andrey Rahmatullin 8eb8b23b10
Merge pull request #5768 from KDreynolds/patch-1
Update setup.py
2022-12-21 23:41:42 +05:00
Kyle Reynolds 3b5ce4c182
Update setup.py
Sorry about the goof up.
2022-12-21 10:51:50 -07:00
Kyle Reynolds 2e54237649
Update setup.py
adding author_email to match_maintainer email for thoroughness' sake
2022-12-20 17:54:06 -07:00
Andrey Rahmatullin 034dc8f10b
Merge pull request #5761 from yolile/patch-1
docs: change DOWNLOAD_DELAY description format
2022-12-16 01:03:53 +05:00