apache/openwhisk

do not base64 encode __ow_body for raw web actions

オープン

#3,920 opened on 2018/07/30

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (1,177 件のフォーク)batch import
controllergood first issuehelp wanted

Repository metrics

Stars
 (6,777 個のスター)
PR merge metrics
 (PR metrics pending)

説明

#3919 removes the base64 encoding requirement when returning JSON as string (and setting the content-type). However we continue to encode JSON for raw http actions receiving __ow_body. For symmetry, we should stop doing that as well. This is largely in place for legacy reasons (spray vs akka). The net of this change is that functions would JSON.parse(param.__ow_body) instead of JSON.parse(decode64(param.__ow_body)).

コントリビューターガイド