blob: 8ca49eb303cf3684786ce78be54778c7ef536f20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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);
}
|