Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_charset_module.xml @ 952:417dc982362e
Updated default for the "charset_types" directive.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 31 Jul 2013 23:46:04 +0400 |
parents | 764fbac1b8b4 |
children | 95c3c3bbf1ce |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_charset_module.xml +++ b/xml/en/docs/http/ngx_http_charset_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_charset_module" link="/en/docs/http/ngx_http_charset_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -163,7 +163,7 @@ are provided in the distribution files < <directive name="charset_types"> <syntax><value>mime-type</value> ...</syntax> <default>text/html text/xml text/plain text/vnd.wap.wml -application/x-javascript application/rss+xml</default> +application/javascript application/rss+xml</default> <context>http</context> <context>server</context> <context>location</context> @@ -175,6 +175,13 @@ in addition to “<literal>text/html</literal>”. The special value “<literal>*</literal>” matches any MIME type (0.8.29). </para> +<para> +<note> +Until version 1.5.4, “<literal>application/x-javascript</literal>” was used +as the default MIME type instead of “<literal>application/javascript</literal>”. +</note> +</para> + </directive>