From a712b4337c03a8af5b878f495189f712ffb81fe7 Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Fri, 18 Dec 2020 15:06:11 +0000 Subject: [PATCH] Fix NAP test to not create duplicate headers --- tests/suite/test_app_protect_integration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/suite/test_app_protect_integration.py b/tests/suite/test_app_protect_integration.py index 17b14d607f..f9b0ad5d7c 100644 --- a/tests/suite/test_app_protect_integration.py +++ b/tests/suite/test_app_protect_integration.py @@ -335,9 +335,9 @@ def test_ap_sec_logs_on( print("----------------------- Send valid request ----------------------") headers = { - "host": ingress_host, - "user-agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0" - } + "Host": ingress_host, + "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0" + } response = requests.get( appprotect_setup.req_url, headers=headers, verify=False )