Skip to content

Commit 8c9d7a9

Browse files
committed
Fix streaming response for curl-minimal
1 parent ada2969 commit 8c9d7a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/bootstrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ post_streaming_response() {
129129
http_code=$(curl -sS -o /dev/null -w '%{http_code}' -X POST \
130130
-H "Lambda-Runtime-Function-Response-Mode: streaming" \
131131
-H "Trailer: Lambda-Runtime-Function-Error-Type, Lambda-Runtime-Function-Error-Body" \
132+
-H "Expect:" \
132133
--data-binary @- "$url" < "$payload")
133134
curl_status=$?
134135
if [ "$curl_status" -ne 0 ]; then

0 commit comments

Comments
 (0)