Hello! On Thu, Jan 12, 2023 at 05:16:21AM -0800, Christopher Liebman wrote:
> Not with 204. > This works quite well with a partner that has an aversion to errors when > they run over the limit: > limit_req_status 204; Indeed, 204 happens to be one of the two 2xx codes which can be returned directly, as they are handled in ngx_http_finalize_request() to facilitate simpler code in the dav module. This is not what your patch enables though. For all other codes, except 204 and 201 mentioned above, just returning them will simply break things. As already suggested, proper behaviour for all the codes can be easily configured by using the "error_page" directive. Hope this helps. -- Maxim Dounin http://mdounin.ru/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel