rabbah commented on issue #2606: application-json no longer considered "binary" 
after migration from spray to akka
URL: 
https://github.com/apache/incubator-openwhisk/issues/2606#issuecomment-322009376
 
 
   The proposed patch in #2609 allows an HTTP web action to respond with a JSON 
value without having to base64 encode it. As in
   ```js
   function main(args) { return { statusCode: 201, body: args } }
   ```
   
   Supplying an already decoded JSON value as an argument however where it is 
otherwise base64 encoded today requires some care - perhaps we need a 
compatibility mode option. Note that this applies only for raw HTTP actions 
which are not the common cases.
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to