Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Implement `MultiValueHeaders` for ``events.LambdaFunctionURLResponse``

Đang mở Phù hợp với người mới
#556 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@nghiack7 đang làm issue này rồi.

Từ ngày 9/5/2026.

  • #628 của @nghiack7 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
cloud

Hướng nghiên cứu

Bắt đầu từ định nghĩa events.LambdaFunctionURLResponse và so sánh với events.APIGatewayV2HTTPResponse để hiểu cấu trúc response hiện có. Thêm trường MultiValueHeaders được yêu cầu với tên JSON đã nêu, sau đó xác minh rằng response của Lambda Function URL serialize trường này như mong đợi bằng các event test hiện có của repository.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is your feature request related to a problem? Please describe.
The events.LambdaFunctionURLResponse doesn't support MultiValueHeaders which became in come use. For now, the workaround is to set up the APIGatewayv2 instance and use events.APIGatewayV2HTTPResponse, which sometimes doesn't provide an economic reason to use APIGatewayv2 just for small Lambda.

Describe the solution you'd like
I would like to ask you to implement MultiValueHeaders support for events.LambdaFunctionURLResponse, bellow you can check the structure example:

type LambdaFunctionURLResponse struct {
    StatusCode        int                 `json:"statusCode"`
    Headers           map[string]string   `json:"headers"`
    MultiValueHeaders map[string][]string `json:"multiValueHeaders"`
    Body              string              `json:"body"`
    IsBase64Encoded   bool                `json:"isBase64Encoded"`
    Cookies           []string            `json:"cookies"`
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Ngôn ngữ chính
Go
Star
3.8k
Fork
581
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws/aws-lambda-go

Tất cả issue của aws/aws-lambda-go

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.