Patch to handle 204 on limit_req_status
Kohei Ozaki
eowner at gmail.com
Sat Sep 21 02:43:45 UTC 2013
> No, please. If you want to return 204, just use appropriate
> error_page redirection.
That's right!
I didn't notice the `error_page redirection`.
Thanks to answer my request.
--
Kohei Ozaki
On Sat, Sep 21, 2013 at 10:20 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Sat, Sep 21, 2013 at 09:13:14AM +0900, Kohei Ozaki wrote:
>
>> Hello nginx-devel guys,
>>
>> I've made small changes in the bounds-check of
>> limit_req_status/limit_conn_status directives.
>>
>> In OpenRTB (Real-time Bidding) protocol, "No-Bids" on all impressions
>> are indicated as HTTP 204 response.
>> It would be useful to handle 204 on limit_req_status/limit_conn_status
>> directives.
>>
>> * ref: "OpenRTB API Specification"
>> http://www.iab.net/media/file/OpenRTB-API-Specification-Version-2-1-FINAL.pdf
>>
>> I hope it will be accepted if it is suitable.
>> The patch to handle HTTP 2xx (not include 200) response is the following:
>
> No, please. If you want to return 204, just use appropriate
> error_page redirection.
>
> --
> Maxim Dounin
> http://nginx.org/en/donation.html
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list