rabbah commented on a change in pull request #3671: Activation id in header
URL: 
https://github.com/apache/incubator-openwhisk/pull/3671#discussion_r190532434
 
 

 ##########
 File path: 
core/controller/src/main/scala/whisk/core/controller/WebActions.scala
 ##########
 @@ -634,37 +634,40 @@ trait WhiskWebActionsApi extends Directives with 
ValidateRequestSize with PostAc
                               responseType: MediaExtension)(implicit transid: 
TransactionId) = {
     onComplete(queuedActivation) {
       case Success(Right(activation)) =>
-        val result = activation.resultAsJson
+        respondWithActivationIdHeader(activation) {
 
 Review comment:
   A webaction is called by an anonymous subject. The activation id is 
information specific the subject owning the action.
   
   The webaction can return its own header to identify the action. Which could 
be the activation id if it chooses - I do not think the system should blanket 
return the activation id for webactions. 
   
   

----------------------------------------------------------------
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