Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 5aaec67

Browse files
committed
Changed header keys to generic, non-gin-related values to address #2.
1 parent 367eb8e commit 5aaec67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ const DefaultServerAddress = "https://aws-serverless-go-api.com"
2222
// APIGwContextHeader is the custom header key used to store the
2323
// API Gateway context. To access the Context properties use the
2424
// GetAPIGatewayContext method of the RequestAccessor object.
25-
const APIGwContextHeader = "X-GinLambda-ApiGw-Context"
25+
const APIGwContextHeader = "X-GoLambdaProxy-ApiGw-Context"
2626

2727
// APIGwStageVarsHeader is the custom header key used to store the
2828
// API Gateway stage variables. To access the stage variable values
2929
// use the GetAPIGatewayStageVars method of the RequestAccessor object.
30-
const APIGwStageVarsHeader = "X-GinLambda-ApiGw-StageVars"
30+
const APIGwStageVarsHeader = "X-GoLambdaProxy-ApiGw-StageVars"
3131

3232
// RequestAccessor objects give access to custom API Gateway properties
3333
// in the request.

0 commit comments

Comments
 (0)