diff xml/ru/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 b8f0362f61e5
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_charset_module.xml	Wed Jul 31 16:25:06 2013 +0400
+++ b/xml/ru/docs/http/ngx_http_charset_module.xml	Wed Jul 31 23:46:04 2013 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_charset_module"
         link="/ru/docs/http/ngx_http_charset_module.html"
         lang="ru"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -162,7 +162,7 @@
 <directive name="charset_types">
 <syntax><value>mime-тип</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,14 @@
 (0.8.29).
 </para>
 
+<para>
+<note>
+До версии 1.5.4 по умолчанию вместо MIME-типа
+“<literal>application/javascript</literal>” использовался
+“<literal>application/x-javascript</literal>”.
+</note>
+</para>
+
 </directive>