You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/29 16:28:53 UTC

[GitHub] rabbah opened a new issue #2445: web action extensions are not known to an web action

rabbah opened a new issue #2445: web action extensions are not known to an web action
URL: https://github.com/apache/incubator-openwhisk/issues/2445
 
 
   `.json`, `.html`, `.svg` are not known to a web action wrt the accept content type and should be.
   
   in general these extensions are intended as syntactic sugar for `.http` for using off the shelf actions which automatic creation of the `.http` response with automatic `headers = {}` and `statusCode = 200` (the headers are empty because of a bug see #2443 but should include the standard defaults).
   
   if the action is already prepared to handle `.http` requests but the action is called with the `.json` extension, it is not aware of the intended accept-type because the controller does not pass this information to the action.
   
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services