aws / aws/aws-lambda-java-libs

Returning errors and headers from the RequestStreamHandler lambda interface

オープン
#521 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
548
フォーク
241
平均マージ
2日 5分
マージ済み PR(30日)
11

説明

Hello,
We managed to setup response streaming through Cloudfront from a Java lambda by implementing the RequestStreamHandler and connecting a function url with invokeMode: InvokeMode.RESPONSE_STREAM. It works very wel, but there seems to be no way to return any errors or alternate http codes or headers with the response stream, which results in empty http 200 responses for illegal requests. Is there a way to return this response information from the RequestStreamHandler and if not, is there a roadmap to implement this? Also a workaround to return http errors through cloudfront on empty responses would suffice for now.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。