X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;h=71112618763859b1e68722515dc34acf2ec29a20;hp=eebfeb2ef80840c9f2f53bb46b3782413941dcea;hb=9c12b0d0fd94e5c026cc4d7e899cee0b61859d4f;hpb=ffc893b125c6cc9b385a68a357b08ba2cc4e91f6 diff --git a/http_api.c b/http_api.c index eebfeb2..7111261 100644 --- a/http_api.c +++ b/http_api.c @@ -228,6 +228,8 @@ STATUS _http_exit_ex(int status, char *header, char *body, zend_bool send_header { case 301: http_log(HTTP_G(log).redirect, "301-REDIRECT", header); break; case 302: http_log(HTTP_G(log).redirect, "302-REDIRECT", header); break; + case 303: http_log(HTTP_G(log).redirect, "303-REDIRECT", header); break; + case 307: http_log(HTTP_G(log).redirect, "307-REDIRECT", header); break; case 304: http_log(HTTP_G(log).cache, "304-CACHE", header); break; case 405: http_log(HTTP_G(log).allowed_methods, "405-ALLOWED", header); break; default: http_log(NULL, header, body); break;