Revision 96efcc33
Added by koszko over 1 year ago
test/haketilo_test/world_wide_library.py | ||
---|---|---|
234 | 234 |
|
235 | 235 |
'https://gotmyowndoma.in/scripts_to_block_1.html': |
236 | 236 |
(200, {}, here / 'data' / 'pages' / 'scripts_to_block_1.html'), |
237 |
'https://gotmyowndoma.in/scripts_to_block_2.xml': |
|
238 |
(200, {}, here / 'data' / 'pages' / 'scripts_to_block_2.xml'), |
|
237 | 239 |
|
238 | 240 |
'https://anotherdoma.in/resource/blocked/by/CORS.json': |
239 | 241 |
lambda command, get_params, post_params: (200, {}, some_data), |
Also available in: Unified diff
improve script blocking in non-HTML documents (XML)