@@ -1535,8 +1535,20 @@ def test_method_create_with_all_params_overload_16(self, client: Cloudflare) ->
15351535 action = "log_custom_field" ,
15361536 action_parameters = {
15371537 "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+ ],
15381544 "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" }],
15401552 },
15411553 description = "Log custom field when the IP address is not 1.1.1.1" ,
15421554 enabled = True ,
@@ -3597,8 +3609,20 @@ def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> No
35973609 action = "log_custom_field" ,
35983610 action_parameters = {
35993611 "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+ ],
36003618 "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" }],
36023626 },
36033627 description = "Log custom field when the IP address is not 1.1.1.1" ,
36043628 enabled = True ,
@@ -5410,8 +5434,20 @@ async def test_method_create_with_all_params_overload_16(self, async_client: Asy
54105434 action = "log_custom_field" ,
54115435 action_parameters = {
54125436 "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+ ],
54135443 "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" }],
54155451 },
54165452 description = "Log custom field when the IP address is not 1.1.1.1" ,
54175453 enabled = True ,
@@ -7472,8 +7508,20 @@ async def test_method_edit_with_all_params_overload_16(self, async_client: Async
74727508 action = "log_custom_field" ,
74737509 action_parameters = {
74747510 "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+ ],
74757517 "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" }],
74777525 },
74787526 description = "Log custom field when the IP address is not 1.1.1.1" ,
74797527 enabled = True ,
0 commit comments