diff --git a/changedetectionio/tests/test_api.py b/changedetectionio/tests/test_api.py index 99c07086..35c8f701 100644 --- a/changedetectionio/tests/test_api.py +++ b/changedetectionio/tests/test_api.py @@ -394,7 +394,8 @@ def test_api_import(client, live_server, measure_memory_usage): res = client.post( url_for("import") + "?tag=import-test", data='https://website1.com\r\nhttps://website2.com', - headers={'x-api-key': api_key, 'content-type': 'text/plain'}, + # We removed 'content-type': 'text/plain', the Import API should assume this if none is set #3547 #3542 + headers={'x-api-key': api_key}, follow_redirects=True )