You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/27 09:08:29 UTC

[GitHub] [apisix] tokers commented on a diff in pull request #6949: api-breaker plugin returns default response body

tokers commented on code in PR #6949:
URL: https://github.com/apache/apisix/pull/6949#discussion_r859563078


##########
apisix/plugins/api-breaker.lua:
##########
@@ -35,6 +35,13 @@ local schema = {
             minimum = 200,
             maximum = 599,
         },
+        break_response_body = {
+            type = "string"
+        },
+        break_response_content_type = {

Review Comment:
   Apache APISIX has a few plugins that define the response body but without setting the content type.
   
   I'm thinking about that, if we need to keep the behaviors consistence?



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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org