blob: 8ca49eb303cf3684786ce78be54778c7ef536f20 [file] [log] [blame]
#include <ngx_config.h>
#if 0
#include <ngx_core.h>
#endif
#include <ngx_http.h>
int ngx_http_special_response(ngx_http_request_t *r, int error)
{
switch (error) {
default:
r->headers_out.status = error;
return ngx_http_header_filter(r);
}
return ngx_http_error(r, error);
}