Skip to content

Commit c04a1da

Browse files
committed
remove x-forwarded-for example
1 parent dc99c10 commit c04a1da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws_lambda_powertools/utilities/parser/models/vpc_lattice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class VpcLatticeModel(BaseModel):
2020
description="The request headers as key-value pairs.",
2121
examples=[
2222
{"host": "test-lambda-service.vpc-lattice-svcs.us-east-2.on.aws", "user-agent": "curl/7.64.1"},
23-
{"content-type": "application/json", "x-forwarded-for": "10.213.229.10"},
23+
{"content-type": "application/json"},
2424
],
2525
)
2626
query_string_parameters: Dict[str, str] = Field(

aws_lambda_powertools/utilities/parser/models/vpc_latticev2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class VpcLatticeV2Model(BaseModel):
117117
description="The request headers as key-value pairs.",
118118
examples=[
119119
{"host": "test-lambda-service.vpc-lattice-svcs.us-east-2.on.aws", "user-agent": "curl/7.64.1"},
120-
{"content-type": "application/json", "x-forwarded-for": "10.213.229.10"},
120+
{"content-type": "application/json"},
121121
],
122122
)
123123
query_string_parameters: Optional[Dict[str, str]] = Field(

0 commit comments

Comments
 (0)