@@ -1535,8 +1535,20 @@ def test_method_create_with_all_params_overload_16(self, client: Cloudflare) ->
1535
1535
action = "log_custom_field" ,
1536
1536
action_parameters = {
1537
1537
"cookie_fields" : [{"name" : "cookie_name_1" }],
1538
+ "raw_response_fields" : [
1539
+ {
1540
+ "name" : "http_response_header_name_1_in_lower_case" ,
1541
+ "preserve_duplicates" : True ,
1542
+ }
1543
+ ],
1538
1544
"request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
1539
- "response_fields" : [{"name" : "http_response_header_name_1_in_lower_case" }],
1545
+ "response_fields" : [
1546
+ {
1547
+ "name" : "http_response_header_name_1_in_lower_case" ,
1548
+ "preserve_duplicates" : True ,
1549
+ }
1550
+ ],
1551
+ "transformed_request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
1540
1552
},
1541
1553
description = "Log custom field when the IP address is not 1.1.1.1" ,
1542
1554
enabled = True ,
@@ -3597,8 +3609,20 @@ def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> No
3597
3609
action = "log_custom_field" ,
3598
3610
action_parameters = {
3599
3611
"cookie_fields" : [{"name" : "cookie_name_1" }],
3612
+ "raw_response_fields" : [
3613
+ {
3614
+ "name" : "http_response_header_name_1_in_lower_case" ,
3615
+ "preserve_duplicates" : True ,
3616
+ }
3617
+ ],
3600
3618
"request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
3601
- "response_fields" : [{"name" : "http_response_header_name_1_in_lower_case" }],
3619
+ "response_fields" : [
3620
+ {
3621
+ "name" : "http_response_header_name_1_in_lower_case" ,
3622
+ "preserve_duplicates" : True ,
3623
+ }
3624
+ ],
3625
+ "transformed_request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
3602
3626
},
3603
3627
description = "Log custom field when the IP address is not 1.1.1.1" ,
3604
3628
enabled = True ,
@@ -5410,8 +5434,20 @@ async def test_method_create_with_all_params_overload_16(self, async_client: Asy
5410
5434
action = "log_custom_field" ,
5411
5435
action_parameters = {
5412
5436
"cookie_fields" : [{"name" : "cookie_name_1" }],
5437
+ "raw_response_fields" : [
5438
+ {
5439
+ "name" : "http_response_header_name_1_in_lower_case" ,
5440
+ "preserve_duplicates" : True ,
5441
+ }
5442
+ ],
5413
5443
"request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
5414
- "response_fields" : [{"name" : "http_response_header_name_1_in_lower_case" }],
5444
+ "response_fields" : [
5445
+ {
5446
+ "name" : "http_response_header_name_1_in_lower_case" ,
5447
+ "preserve_duplicates" : True ,
5448
+ }
5449
+ ],
5450
+ "transformed_request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
5415
5451
},
5416
5452
description = "Log custom field when the IP address is not 1.1.1.1" ,
5417
5453
enabled = True ,
@@ -7472,8 +7508,20 @@ async def test_method_edit_with_all_params_overload_16(self, async_client: Async
7472
7508
action = "log_custom_field" ,
7473
7509
action_parameters = {
7474
7510
"cookie_fields" : [{"name" : "cookie_name_1" }],
7511
+ "raw_response_fields" : [
7512
+ {
7513
+ "name" : "http_response_header_name_1_in_lower_case" ,
7514
+ "preserve_duplicates" : True ,
7515
+ }
7516
+ ],
7475
7517
"request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
7476
- "response_fields" : [{"name" : "http_response_header_name_1_in_lower_case" }],
7518
+ "response_fields" : [
7519
+ {
7520
+ "name" : "http_response_header_name_1_in_lower_case" ,
7521
+ "preserve_duplicates" : True ,
7522
+ }
7523
+ ],
7524
+ "transformed_request_fields" : [{"name" : "http_request_header_name_1_in_lower_case" }],
7477
7525
},
7478
7526
description = "Log custom field when the IP address is not 1.1.1.1" ,
7479
7527
enabled = True ,
0 commit comments