comparison src/http/ngx_http_special_response.c @ 513:fbbf16224844 release-0.1.31

nginx-0.1.31-RELEASE import *) Bugfix: the response encrypted by SSL may not transferred complete. *) Bugfix: errors while processing FastCGI response by SSI. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the redirect with the 301 code was transferred without response body; the bug had appeared in 0.1.30.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 May 2005 13:53:20 +0000
parents c12967aadd87
children 7fa11e5c6e96
comparison
equal deleted inserted replaced
512:3be320f17dbb 513:fbbf16224844
298 /* 204 */ 298 /* 204 */
299 err = 0; 299 err = 0;
300 300
301 } else if (error < NGX_HTTP_BAD_REQUEST) { 301 } else if (error < NGX_HTTP_BAD_REQUEST) {
302 /* 3XX */ 302 /* 3XX */
303 err = error - NGX_HTTP_MOVED_PERMANENTLY; 303 err = error - NGX_HTTP_MOVED_PERMANENTLY + NGX_HTTP_LEVEL_200;
304 304
305 } else if (error < NGX_HTTP_NGX_CODES) { 305 } else if (error < NGX_HTTP_NGX_CODES) {
306 /* 4XX */ 306 /* 4XX */
307 err = error - NGX_HTTP_BAD_REQUEST + NGX_HTTP_LEVEL_200 307 err = error - NGX_HTTP_BAD_REQUEST + NGX_HTTP_LEVEL_200
308 + NGX_HTTP_LEVEL_300; 308 + NGX_HTTP_LEVEL_300;