Skip to content

Problems with "Accept-Encoding: br" header #575

Answered by phbender
phbender asked this question in Q&A
Discussion options

You must be logged in to vote

I specified the payload format version to be "1.0" instead of "2.0". I read about this parameter before but I would have expected it to explode with much more noise.

Double checked: by switching back and forth between both settings, I get the behaviour described above.

Bottom line: To deploy a Lambda handler using this crate, it can be deployed using code like this:

resource "aws_apigatewayv2_api" "lambda" {
  name          = "some-gateway-name"
  protocol_type = "HTTP"
}

resource "aws_apigatewayv2_stage" "lambda" {
  api_id = aws_apigatewayv2_api.lambda.id

  name        = "v1"
  auto_deploy = true
}

resource "aws_apigatewayv2_integration" "lambda_app" {
  api_id = aws_apigatewayv2_api.l…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@phbender
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by phbender
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants