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


##########
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:
   > This problem cannot be solved even if we provide this field. People have 
to know how to configure it.
   > 
   > For these kinds of returning body, I think we may need a unified way to 
handle the `Content-Type`.
   
   A unified way is good, but it's not that easy. Modern API returns 
application/json, but some legacy API returns application/soap+xml like SOAP.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to