# HG changeset patch # User Valentin Bartenev # Date 1375299964 -14400 # Node ID 417dc982362e1e1144fab247aec0ccbd5538fa1f # Parent 3992b30c22f24a6f0150e7743af8288eb8d91c74 Updated default for the "charset_types" directive. diff -r 3992b30c22f2 -r 417dc982362e xml/en/docs/http/ngx_http_charset_module.xml --- a/xml/en/docs/http/ngx_http_charset_module.xml Wed Jul 31 16:25:06 2013 +0400 +++ b/xml/en/docs/http/ngx_http_charset_module.xml Wed Jul 31 23:46:04 2013 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -163,7 +163,7 @@ mime-type ... text/html text/xml text/plain text/vnd.wap.wml -application/x-javascript application/rss+xml +application/javascript application/rss+xml http server location @@ -175,6 +175,13 @@ The special value “*” matches any MIME type (0.8.29). + + +Until version 1.5.4, “application/x-javascript” was used +as the default MIME type instead of “application/javascript”. + + + diff -r 3992b30c22f2 -r 417dc982362e xml/ru/docs/http/ngx_http_charset_module.xml --- 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 @@ + rev="2">
@@ -162,7 +162,7 @@ mime-тип ... text/html text/xml text/plain text/vnd.wap.wml -application/x-javascript application/rss+xml +application/javascript application/rss+xml http server location @@ -175,6 +175,14 @@ (0.8.29). + + +До версии 1.5.4 по умолчанию вместо MIME-типа +“application/javascript” использовался +“application/x-javascript”. + + +