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/08/30 13:48:48 UTC

[GitHub] rabbah commented on issue #2674: controller should respond with 204 (no content) when a body is missing for HTTP web actions

rabbah commented on issue #2674: controller should respond with 204 (no content) when a body is missing for HTTP web actions
URL: https://github.com/apache/incubator-openwhisk/issues/2674#issuecomment-325995796
 
 
   This is a bit more nuanced - when status code, headers, and body are all missing, the sensible default is clear. But what if only some of those values are specified?
   
   As in a status code is specified, no body and no headers? This can lead to content negotiation errors.
   
   Or a body is specified and no headers? Should we infer JSON type for example? This is something we considered useful to avoid base64 encoding an http response.
 
----------------------------------------------------------------
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