Commit Graph

38 Commits

Author SHA1 Message Date
Adrián Chaves b7e88f4357 test_get_response_class_http: cover Apache bug scenarios 2022-06-30 19:12:13 +02:00
Adrián Chaves 4759c68193 Address style issues 2022-06-30 16:57:17 +02:00
Adrián Chaves 948b9ba125 Deprecate scrapy.responsetypes 2022-06-30 16:36:08 +02:00
Adrián Chaves 55105ddc7c Do not warn about internal usage of ResponseTypes.CLASSES 2022-06-30 16:29:18 +02:00
Adrián Chaves 54a0248301 Deprecate ResponseTypes.CLASSES 2022-06-30 16:24:42 +02:00
Adrián Chaves 1ea5a8e9e0 Deprecate ResponseTypes itself 2022-06-30 15:29:33 +02:00
Adrián Chaves fd2317bd6d Implement scrapy.utils.response.get_response_class 2022-06-30 15:15:52 +02:00
Adrián Chaves d2accf2e39 Fix issues reported by static checks 2022-06-21 12:02:56 +02:00
Adrián Chaves 3fc9b732cb Refactor responsetypes 2022-06-21 11:12:10 +02:00
Adrián Chaves 9044ceb824 Refactor responsetypes 2022-06-21 10:27:20 +02:00
Akshay Sharma 0eb1de90e2 fix static checks 2022-06-20 21:10:06 -04:00
Akshay Sharma b9effde875 Refactored _guess_content_type 2022-06-20 20:15:33 -04:00
Akshay Sharma 66e3b40043 Add more tests 2021-09-20 22:44:13 -04:00
Akshay Sharma c81605abe6 Move tests to post_xtractmime 2021-08-29 13:55:02 -04:00
Akshay Sharma 3475f0049b Change _guess_content_type 2021-08-13 01:05:37 +05:30
Akshay Sharma 4169fd184f More tests 2021-08-11 17:14:38 +05:30
Akshay Sharma 9980a3d134 ADD xtractmime to pinnedtests 2021-08-09 17:28:12 +05:30
Akshay Sharma 2ba2f49ac5 Add more tests 2021-08-08 19:35:48 +05:30
Akshay Sharma f573d11ec2 Logic fix 2021-08-01 14:40:39 +05:30
Akshay Sharma 180b457f77 Format change 2021-07-31 17:38:28 +05:30
Akshay Sharma 1512ed22b2 Pre n post xtractmime tests 2021-07-25 19:42:27 +05:30
Akshay Sharma 763ec07b7b Deprecation Warnings 2021-07-18 03:56:12 +05:30
Akshay Sharma 211fc62b69 Remove commented func 2021-07-15 20:06:56 +05:30
Akshay Sharma 265301215a Add extract_mime 2021-07-15 20:03:11 +05:30
Ammar Najjar 58ca8bbf6d Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
Adrián Chaves 890b2138a6 Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
Eugenio Lacuesta 3eeecb4273
Merge branch 'master' into flake8-max-line-length 2020-05-15 11:11:20 -03:00
Antonio Gordillo Toledo cf09af787e
Remove Python 2 encoding header from files (#4553) 2020-05-08 15:45:19 +02:00
Eugenio Lacuesta 182394bcec
E501 compliance (tests) 2020-03-22 23:29:30 -03:00
Marc Hernández 91bbc70bc1
fix E30X flake8 (#4355) 2020-02-21 06:05:31 +01:00
Adrián Chaves f261cf65e9 Add missing blank lines between functions and classes
Also fixed 2 unrelated Flake8 issues
2019-11-18 17:16:09 +01:00
Elias Dorneles 129421c7e3 Merge pull request #1503 from demelziraptor/amazon-json-response
[MRG+1] interpreting json-amazonui-streaming as TextResponse
2016-09-12 13:21:16 -03:00
Paul Tremberth cabed6f183 More liberal Content-Disposition header parsing
Fixes #1782
2016-02-17 16:55:28 +01:00
Demelziraptor 97a52665a0 interpreting json-amazonui-streaming as TextResponse 2015-09-18 17:16:43 +09:00
Gregory Vigo Torres 06b91da943 using bytes for body constant 2015-07-31 14:31:11 +02:00
nyov e044bfa60f PY3 fix test downloadermiddleware decompression 2015-07-29 13:51:01 +00:00
Demelziraptor 9a15fcf89a interpreting application/x-json as TextResponse 2015-07-02 19:56:30 +02:00
Daniel Graña 242c08553f move tests under root dir 2014-07-30 19:45:08 -03:00