At now when trigger conn/req/count limit APISIX response like this
HTTP/1.1 503 Service Temporarily Unavailable
Date: Wed, 03 Jun 2020 12:13:32 GMT
Content-Type: application/octet-stream
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=55
Server: APISIX web server
{}
We can add option parameters for limit-xxx( limit-req/limit-conn/limit-count)
plugin make the response like this
HTTP/1.1 503 Service Temporarily Unavailable
Date: Wed, 03 Jun 2020 12:13:32 GMT
Content-Type: application/octet-stream
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=55
Server: APISIX web server
{ “message”: “custom error response message"}
> 在 2020年6月3日,下午6:40,Ming Wen <[email protected]> 写道:
>
> hi,xxm404,
> can you show one example? thx
>
> xxm404 <[email protected]> 于 2020年6月3日周三 下午6:36写道:
>
>> The limit-count, limit-conn, limit-req plugin should support error
>> response content.
>>