comparison src/http/modules/ngx_http_charset_filter_module.c @ 403:9d81578d04bb NGINX_0_7_11

nginx 0.7.11 *) Change: now ngx_http_charset_module does not work by default with text/css MIME type. *) Feature: now nginx returns the 405 status code for POST method requesting a static file only if the file exists. *) Feature: the "proxy_ssl_session_reuse" directive. *) Bugfix: a "proxy_pass" directive without URI part might use original request after the "X-Accel-Redirect" redirection was used; *) Bugfix: if a directory has search only rights and the first index file was absent, then nginx returned the 500 status code. *) Bugfix: in inclusive locations; the bugs had appeared in 0.7.1.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 Aug 2008 00:00:00 +0400
parents 349057ecf4d5
children fd759445d8a8
comparison
equal deleted inserted replaced
401:47d42325b5fd 403:9d81578d04bb
113 static ngx_int_t ngx_http_charset_postconfiguration(ngx_conf_t *cf); 113 static ngx_int_t ngx_http_charset_postconfiguration(ngx_conf_t *cf);
114 114
115 115
116 ngx_str_t ngx_http_charset_default_types[] = { 116 ngx_str_t ngx_http_charset_default_types[] = {
117 ngx_string("text/html"), 117 ngx_string("text/html"),
118 ngx_string("text/css"),
119 ngx_string("text/xml"), 118 ngx_string("text/xml"),
120 ngx_string("text/plain"), 119 ngx_string("text/plain"),
121 ngx_string("text/vnd.wap.wml"), 120 ngx_string("text/vnd.wap.wml"),
122 ngx_string("application/x-javascript"), 121 ngx_string("application/x-javascript"),
123 ngx_string("application/rss+xml"), 122 ngx_string("application/rss+xml"),