+1,  it should be a BREAKING CHANGE.

发自我的 iPhone

> 在 2023年2月23日,13:27,Jintao Zhang <zhangjintao9...@gmail.com> 写道:
> 
> +1
> 
> But we need to mark this as a breaking change.
> 
> Chao Zhang <zchao1...@gmail.com> 于2023年2月23日周四 09:58写道:
> 
>> Hi,
>> 
>> +1 from me.
>> 
>> Chao Zhang
>> https://github.com/tokers
>> 
>> On February 22, 2023 at 17:49:25, Traky Deng (trakyd...@api7.ai) wrote:
>> 
>> Hello,
>> 
>> It has been noted by Nicolas (cc-ed in the email) during a doc review that
>> the rate-limit plugin currently defaults to 503 HTTP response code for
>> requests exceeding the configured rate limit. HTTP 429 Too Many Requests
>> response code might be a better fit:
>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
>> 
>> From a quick discussion with Zexuan Luo, the following info was mentioned:
>> "503 was initially used because Nginx's limit_req_status also uses 503 as
>> the default. However, Nginx made its decision long before 429 became
>> popular."
>> 
>> Hope to follow up with the dev team to see if and when this change will be
>> made, as documentation team would like to change the relevant doc(s)
>> accordingly.
>> 
>> Thanks,
>> Traky Deng
>> 

Reply via email to