You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/08/23 15:35:00 UTC

[GitHub] [openwhisk-runtime-go] xemul opened a new issue #102: Custom http status after function invocation

xemul opened a new issue #102: Custom http status after function invocation
URL: https://github.com/apache/openwhisk-runtime-go/issues/102
 
 
   Hello,
   
   I'm trying to write a web action that can return back different http status codes, but docs say nothing about it. I looked at the code and found that the launcher.go just forwards the returned map back to executor and the executor itself doesn't set any status into ResponceWriter (thus defauling it to StatusOK?).
   
   If someone would want to patch the launcher/executor to allow actions return custom status, what would be the best way to do it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services