Error_page 413 in nginx 1.1.14


I was using nginx 1.1.14, and I have an error_page configuration like

client_body_max_size 10m;
error_page 413 /error/http/413;

When I POST-ed a 15mb file to /error/test, what happened is that
/error/test is being displayed again with $_SERVER[‘REQUEST_METHOD’]
is ‘GET’ (I was using PHP) but
the browser still see the request as POST. I have checked that
/error/http was never called. Is this a bug or an error in the

Thanks in advance.