aws / aws/aws-lambda-runtime-interface-emulator

Question: Is it possible to configure CORS?

未關閉
#16 1 則留言 21 個 reaction 已指派 0 人 在 GitHub 檢視
documentation enhancement
主要語言
Go
星號
1.1k
分支
118
平均合併
42 分鐘
30 天內合併 PR
2

描述

Hi, y'all! First of all thanks for your great work. My first time using AWS Lambda tooling and I'm really enjoying the experience so far 😊

My question because I didn't really find anything in the docs (which makes sense as the product is rather new): is it possible to configure CORS for the local RIE docker container which holds my custom function? Once it is deployed I'd imagine you would configure this directly in AWS but until then I currently don't see a way how I'd tell it to set CORS headers.

It's not the biggest of problems, as I could just use another pass-through CORS proxy locally. I was just wondering whether this was already a supported scenario.

Thanks a lot in advance!

貢獻指南

開啟貢獻指南

研究方向

該 issue 提到了本機 RIE Docker 容器、自訂函式和 CORS 標頭,但沒有指出原始檔或測試。首先檢查現有文件和本機請求處理,以了解 CORS 設定;完成標準是:有一種文件化且受支援的本機設定 CORS 標頭的方式,或明確說明不支援此功能。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
aws, docker, go
領域
api, cloud, tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。