comparison 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
comparison
equal deleted inserted replaced
951:3992b30c22f2 952:417dc982362e
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_charset_module" 10 <module name="Module ngx_http_charset_module"
11 link="/en/docs/http/ngx_http_charset_module.html" 11 link="/en/docs/http/ngx_http_charset_module.html"
12 lang="en" 12 lang="en"
13 rev="1"> 13 rev="2">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_charset_module</literal> module adds the specified 18 The <literal>ngx_http_charset_module</literal> module adds the specified
161 161
162 162
163 <directive name="charset_types"> 163 <directive name="charset_types">
164 <syntax><value>mime-type</value> ...</syntax> 164 <syntax><value>mime-type</value> ...</syntax>
165 <default>text/html text/xml text/plain text/vnd.wap.wml 165 <default>text/html text/xml text/plain text/vnd.wap.wml
166 application/x-javascript application/rss+xml</default> 166 application/javascript application/rss+xml</default>
167 <context>http</context> 167 <context>http</context>
168 <context>server</context> 168 <context>server</context>
169 <context>location</context> 169 <context>location</context>
170 <appeared-in>0.7.9</appeared-in> 170 <appeared-in>0.7.9</appeared-in>
171 171
172 <para> 172 <para>
173 Enables module processing in responses with the specified MIME types 173 Enables module processing in responses with the specified MIME types
174 in addition to “<literal>text/html</literal>”. 174 in addition to “<literal>text/html</literal>”.
175 The special value “<literal>*</literal>” matches any MIME type (0.8.29). 175 The special value “<literal>*</literal>” matches any MIME type (0.8.29).
176 </para>
177
178 <para>
179 <note>
180 Until version 1.5.4, “<literal>application/x-javascript</literal>” was used
181 as the default MIME type instead of “<literal>application/javascript</literal>”.
182 </note>
176 </para> 183 </para>
177 184
178 </directive> 185 </directive>
179 186
180 187