home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 May
/
Gamestar_62_2004-05_dvd.iso
/
Programy
/
apache_2.0.48-win32-x86-no_ssl.msi
/
Data.Cab
/
F252077_contentnegotiation.html.ko.euckr
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-29
|
26KB
|
579 lines
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>│╗┐δ╟∙╗≤ (Content Negotiation) - Apache HTTP Server</title>
<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="./images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>│╗┐δ╟∙╗≤ (Content Negotiation)</h1>
<div class="toplang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/content-negotiation.html" title="Korean"> ko </a></p>
</div>
<p>╛╞╞──í┤┬ HTTP/1.1 ▒╘╛α┐í ▒Γ╝·╡╚ │╗┐δ╟∙╗≤(content
negotiation)└╗ ┴÷┐°╟╤┤┘. │╗┐δ╟∙╗≤└║ media type, ╛≡╛ε, ╣«└┌┴²╟╒,
└╬─┌╡∙ ╡ε┐í ┤δ╟╪ ║Ω╢≤┐∞└·░í ┴ª░°╟╤ ╝▒╚ú╡╡┐í ╡√╢≤ └┌┐°└╟
░í└σ └√╟╒╟╤ ╟Ñ╟÷└╗ ╝▒┼├╟╤┤┘. ╢╟ ║╥┐╧└ⁿ╟╤ ╟∙╗≤ ┴ñ║╕╕ª ║╕│╗┤┬
║Ω╢≤┐∞└·└╟ ┐Σ├╗└╗ ┴÷┤╔└√└╕╖╬ ├│╕«╟╧┤┬ ▒Γ┤╔╡╡ └╓┤┘.</p>
<p>▒Γ║╗└√└╕╖╬ ──╞─└╧╡╟┤┬ <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
╕≡╡Γ└╠ │╗┐δ╟∙╗≤ ▒Γ┤╔└╗ ┴ª░°╟╤┤┘.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#about">│╗┐δ╟∙╗≤┐í ┤δ╟╪</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#negotiation">╛╞╞──í└╟ ╟∙╗≤</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#methods">╟∙╗≤╣µ╣²</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#better">╟░┴·░Φ╝÷ ┴╢└█╟╧▒Γ</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#extensions">└┌┐¼╜║╖»┐ε(transparent) │╗┐δ╟∙╗≤└╟ ╚«└σ</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#naming">╟╧└╠╞█╕╡┼⌐┐═ └╠╕º▒╘─ó┐í ┤δ╟╧┐⌐</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#caching">─│╜¼┐í ┤δ╟╧┐⌐</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#more">┤┘╕Ñ ┴ñ║╕</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="about" id="about">│╗┐δ╟∙╗≤┐í ┤δ╟╪</a></h2>
<p>└┌┐°└║ ┐⌐╖» ┤┘╕Ñ ╟Ñ╟÷└╗ ░í┴· ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, ┤┘╕Ñ
╛≡╛ε│¬ ┤┘╕Ñ media type ╚ñ└║ ╡╤ ╕≡╡╬░í ┤┘╕Ñ ╟Ñ╟÷╡Θ└╠ └╓└╗
╝÷ └╓┤┘. ░í└σ └√┤τ╟╤ ╟Ñ╟÷└╗ ╝▒┼├╟╧┤┬ ╟╤░í┴÷ ╣µ╣²└║ ╗τ┐δ└┌┐í░╘
╕±╖╧ ╞Σ└╠┴÷╕ª ║╕┐⌐┴╓░φ ╝▒┼├╟╧░╘ ╟╧┤┬ ░═└╠┤┘. ▒╫╖»│¬ ╝¡╣÷░í
└┌╡┐└╕╖╬ ╝▒┼├╟╧┤┬ ░═╡╡ ░í┤╔╟╧┤┘. └╠┤┬ ║Ω╢≤┐∞└·░í ┐Σ├╗└╟
└╧║╬╖╬ ▒╫╡Θ└╠ ╝▒╚ú╟╧┤┬ ╟Ñ╟÷┐í ┤δ╟╤ ┴ñ║╕╕ª ║╕│╗▒Γ╢º╣«┐í
░í┤╔╟╧┤┘. ┐╣╕ª ╡Θ╛ε, ║Ω╢≤┐∞└·┤┬ ░í┤╔╟╤╟╤ ║╥╛ε╖╬, ▒╫╖»│¬
╛°┤┘╕Θ ┐╡╛ε╖╬ ┴ñ║╕╕ª ║╕░φ╜═┤┘░φ ╛╦╖┴┴┘ ╝÷ └╓┤┘. ║Ω╢≤┐∞└·┤┬
┐Σ├╗└╟ ╟∞┤⌡╖╬ ▒╫╡Θ└╟ ▒Γ╚ú╕ª │¬┼╕│╜┤┘. ┐└┴≈ ║╥╛ε╖╬╡╚ ╟Ñ╟÷╕╕└╗
┐Σ├╗╟╤┤┘╕Θ ║Ω╢≤┐∞└·┤┬ ┤┘└╜░· ░░└╠ ║╕│╜┤┘.</p>
<div class="example"><p><code>Accept-Language: fr</code></p></div>
<p>└╠╖▒ ▒Γ╚ú┤┬ ╟Ñ╟÷└╠ ╛≡╛ε║░╖╬ ┤┘╕ª ░µ┐∞┐í╕╕ ░φ╖┴╡╚┤┘.</p>
<p>┤┘└╜└║ ┤⌡ ║╣└Γ╟╤ ┐Σ├╗└╟ ┐╣╖╬ ║Ω╢≤┐∞└·░í ║╥╛ε┐═ ┐╡╛ε╕ª
╣▐└╗ ╝÷ └╓┴÷╕╕, ║╥╛ε╕ª ┤⌡ ╝▒╚ú╟╧░φ, ┐⌐╖» media type└╗ ╣▐└╗
╝÷ └╓┴÷╕╕, └╧╣▌ ┼╪╜║╞« ║╕┤┘┤┬ HTML, ┤┘╕Ñ media type ║╕┤┘┤┬
GIF┐═ JPEG└╗ ╝▒╚ú╟╤┤┘░φ ╛╦╖┴┴╪┤┘.</p>
<div class="example"><p><code>
Accept-Language: fr; q=1.0, en; q=0.5<br />
Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1
</code></p></div>
<p>╛╞╞──í┤┬ HTTP/1.1 ▒╘╛α┐í ┴ñ└╟╡╚ '╝¡╣÷ ┴╓╡╡(server driven)'
│╗┐δ╟∙╗≤└╗ ┴÷┐°╟╤┤┘. ╛╞╞──í┤┬ Accept, Accept-Language,
Accept-Charset, Accept-Encoding ┐Σ├╗ ╟∞┤⌡╕ª ╕≡╡╬ ┴÷┐°╟╤┤┘.
╢╟, ╛╞╞──í┤┬ RFC 2295┐═ RFC 2296┐í ┴ñ└╟╡╚ ╜╟╟Φ└√└╬ │╗┐δ╟∙╗≤└╬
'└┌┐¼╜║╖»┐ε(transparent)' ┐Σ├╗ ╟∞┤⌡╡╡ ┴÷┐°╟╤┤┘.</p>
<p><strong>└┌┐°(resource)</strong>└║ (RFC 2396) URI╖╬ ▒╕║░╟╧┤┬
░││Σ└√└╬ ┴╕└τ┤┘. ╛╞╞──í┐═ ░░└║ └Ñ╝¡╣÷┤┬ └┌┐°└╟
<strong>╟Ñ╟÷(representations)</strong>└╗ ┴ª░°╟╤┤┘. ╟Ñ╟÷└║
┴÷┴ñ╡╚ media type, ╣«└┌┴²╟╒, └╬─┌╡∙ ╡ε└╗ ░í┴° ╣┘└╠╞«╡Θ╖╬
╡╟└╓┤┘. └┌┐°└║ ┐⌐╖» ╟Ñ╟÷░· (╢º╖╬┤┬ ╛°└╗ ╝÷╡╡ └╓┤┘) ┐¼░ⁿ╡╚┤┘.
└┌┐°┐í ┐⌐╖» ╟Ñ╟÷└╠ └╓┤┘╕Θ └┌┐°└╗
<strong>╟∙╗≤░í┤╔╟╧┤┘░φ(negotiable)</strong> ║╬╕ú╕τ, └╠╢º
░ó ╟Ñ╟÷└╗ <strong>║»╟ⁿ(variant)</strong>└╠╢≤░φ ╟╤┤┘.
╟∙╗≤░í┤╔╟╤ └┌┐°└╟ ║»╟ⁿ ┴╛╖∙╕ª ╟∙╗≤└╟
<strong>╣ⁿ└º(dimension)</strong>╢≤░φ ╟╤┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="negotiation" id="negotiation">╛╞╞──í└╟ ╟∙╗≤</a></h2>
<p>└┌┐°└╗ ╟∙╗≤╟╧▒Γ└º╟╪ ╝¡╣÷┤┬ ░ó ║»╟ⁿ┐í ┤δ╟╤ ┴ñ║╕░í ╟╩┐Σ╟╧┤┘.
┤┘└╜ ╡╬░í┴÷ ╣µ╣²┴▀ ╟╧│¬╖╬ ┴ñ║╕╕ª ╛≥┤┬┤┘:</p>
<ul>
<li>║»╟ⁿ└╗ ┤π└║ ╞─└╧╡Θ└╗ ┴≈┴ó ┐¡░┼╟╤ type map└╗ (<em>┐╣╕ª
╡Θ╛ε</em>, <code>*.var</code> ╞─└╧) ╗τ┐δ╟╧░┼│¬,</li>
<li>┴≈┴ó ┴÷┴ñ╟╧┴÷╛╩╛╞╡╡ ╝¡╣÷░í ╞─└╧╕φ┐í╝¡ ▒╘─ó└╗ ├ú╛╞╝¡
░ß░·╕ª ╝▒┼├╟╧┤┬ 'MultiViews'╕ª ╗τ┐δ╟╤┤┘.</li>
</ul>
<h3><a name="type-map" id="type-map">type-map ╞─└╧ ╗τ┐δ╟╧▒Γ</a></h3>
<p>type map└║ <code>type-map</code>└╠╢⌡ ╟┌╡Θ╖»┐═ ┐¼░ß╡╚
(╚ñ└║ └╠└ⁿ ╛╞╞──í ╝│┴ñ░· ╚ú╚»└╗ └º╟╪ mime type└╠
<code>application/x-type-map</code>└╬) ╣«╝¡┤┘. └╠ ▒Γ┤╔└╗
╗τ┐δ╟╧╖┴╕Θ ╝│┴ñ┐í╝¡ <code>type-map</code> ╟┌╡Θ╖»┐í ┤δ╟╤
╞─└╧ ╚«└σ└┌╕ª ┴÷┴ñ╟╪╛▀ ╟╤┤┘. ╝¡╣÷ ╝│┴ñ╞─└╧┐í ┤┘└╜░· ░░└╠
╝│┴ñ╟╧┤┬ ░═└╠ ┴┴┤┘.</p>
<div class="example"><p><code>AddHandler type-map .var</code></p></div>
<p>Type map ╞─└╧└║ ╟╪┤τ╟╧┤┬ └┌┐°░· └╠╕º└╠ ░░╛╞╛▀ ╟╧░φ,
░ó ║»╟ⁿ┐í ┤δ╟╤ ╟╫╕±└╠ └╓╛ε╛▀ ╟╤┤┘. ╟╫╕±└║ ┐⌐╖» HTTP╟ⁿ╜─
╟∞┤⌡ ┴┘╖╬ ▒╕╝║╡╚┤┘. ║»╟ⁿ┐í ┤δ╟╤ ░ó░ó└╟ ╟╫╕±╡Θ└║ ║≤┴┘╖╬
▒╕║╨╟╤┤┘. ╟╫╕±╛╚┐í╝¡ ║≤┴┘└╗ ╗τ┐δ╟╥ ╝÷ ╛°┤┘. (└╠╖╕░╘ ╟╥
╟╩┐Σ░í ╛°░φ, └╓╛ε╡╡ ╣½╜├╟╧┴÷╕╕) ┐⌐╖» ╟╫╕±└╠ ░°┼δ└╕╖╬ ░í┴÷░φ
└╓┤┬ │╗┐δ└╕╖╬ map ╞─└╧└╗ ╜├└█╟╧┤┬ ░═└╠ ║╕┼δ└╠┤┘. ┤┘└╜└║
map ╞─└╧ ┐╣┤┘. └╠ ╞─└╧└╟ └╠╕º└║ <code>foo.var</code>╖╬,
<code>foo</code>╢≤┤┬ └┌┐°└╗ ╝│╕φ╟╤┤┘.</p>
<div class="example"><p><code>
URI: foo<br />
<br />
URI: foo.en.html<br />
Content-type: text/html<br />
Content-language: en<br />
<br />
URI: foo.fr.de.html<br />
Content-type: text/html;charset=iso-8859-2<br />
Content-language: fr, de<br />
</code></p></div>
<p>typemap ╞─└╧└╠ ╞─└╧╕φ ╚«└σ└┌ ║╕┤┘, ╜╔┴÷╛ε Multiviews╕ª
╗τ┐δ╟╧┐⌐╡╡, ┐∞╝▒▒╟└╗ ░í┴ⁿ└╗ ┴╓└╟╟╧╢≤. ║»╟ⁿ└╠ ╝¡╖╬ ┤┘╕Ñ ╟░┴·└╗
░í┴°┤┘╕Θ, ┤┘└╜░· ░░└╠ (jpeg, gif, ASCII-art┐í ╟╪┤τ╟╧┤┬)
media type┐í "qs" ╞─╢≤╣╠┼═╖╬ ╟░┴·(source quality)└╗ ╟Ñ╜├╟╥
╝÷ └╓┤┘:</p>
<div class="example"><p><code>
URI: foo<br />
<br />
URI: foo.jpeg<br />
Content-type: image/jpeg; qs=0.8<br />
<br />
URI: foo.gif<br />
Content-type: image/gif; qs=0.5<br />
<br />
URI: foo.txt<br />
Content-type: text/plain; qs=0.01<br />
</code></p></div>
<p>qs ░¬└║ 0.000┐í╝¡ 1.000 ╗τ└╠┤┘. qs ░¬└╠ 0.000└╬ ║»╟ⁿ└║
└²┤δ ╝▒┼├╡╟┴÷ ╛╩└╜└╗ ┴╓└╟╟╧╢≤. 'qs' ░¬└╠ ╛°┤┬ ║»╟ⁿ└║ 1.0└╕╖╬
├δ▒▐╡╚┤┘. qs ░¬└║ ┼¼╢≤└╠╛≡╞«└╟ ┤╔╖┬░·┤┬ ░ⁿ░Φ╛°└╠ ┤┘╕Ñ ║»╟ⁿ╡Θ░·
║±▒│╟╧┐⌐ ▒╫ ║»╟ⁿ└╟ ╗≤┤δ└√└╬ '╟░┴·'└╗ │¬┼╕│╜┤┘. ┐╣╕ª ╡Θ╛ε,
╗τ┴°└╗ │¬┼╕│╗╖┴┤┬ ░µ┐∞ jpeg ╞─└╧└╠ ascii ╞─└╧║╕┤┘┤┬ ╟╫╗≤
│⌠└║ ╟░┴·└╗ ░í┴°┤┘. ▒╫╖»│¬ └┌┐°└╠ ┐°╖í ascii art┐┤┤┘╕Θ
ascii ╟Ñ╟÷└╠ jpeg ╟Ñ╟÷║╕┤┘ ┤⌡ │⌠└║ ╟░┴·└╗ ░í┴· ╝÷ └╓┤┘.
▒╫╖»╣╟╖╬ ╛ε╢▓ ║»╟ⁿ└╟ qs ░¬└║ ╟Ñ╟÷╟╧╖┴┤┬ └┌┐°└╟ ╝║┴·┐í
╡√╢≤ ┤┘╕ú┤┘.</p>
<p>┴÷┐°╟╧┤┬ ╕≡╡τ ╟∞┤⌡ ╕±╖╧└║ <a href="mod/mod_negotiation.html#typemaps">mod_negotation
typemap</a> ╣«╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
<h3><a name="multiviews" id="multiviews">Multiviews</a></h3>
<p><code>MultiViews</code>┤┬ ╡≡╖║┼Σ╕«║░ ┐╔╝╟└╠╣╟╖╬,
<code>httpd.conf</code>└╟
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>,
<code class="directive"><a href="./mod/core.html#location"><Location></a></code>,
<code class="directive"><a href="./mod/core.html#files"><Files></a></code>
╝╜╝╟ ╚ñ└║ (<code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>░í
└√└²╚≈ ╝│┴ñ╡╟╛·┤┘╕Θ) <code>.htaccess</code> ╞─└╧└╟
<code class="directive"><a href="./mod/core.html#options">Options</a></code> ┴÷╜├╛ε┐í ╝│┴ñ╟╥
╝÷ └╓┤┘. <code>Options All</code>└║ <code>MultiViews</code>╕ª
╞≈╟╘╟╧┴÷╛╩└╜└╗ ┴╓└╟╟╧╢≤. ╡√╖╬ ┴≈┴ó ╜ß┴α╛▀ ╟╤┤┘.</p>
<p><code>MultiViews</code>╕ª ╗τ┐δ╟╧╕Θ ┤┘└╜░· ░░└║ └╧└╠ └╧╛ε│¡┤┘:
╝¡╣÷░í <code>/some/dir/foo</code>┐í ┤δ╟╤ ┐Σ├╗└╗ ╣▐░φ
<code>/some/dir/foo</code>┐í <code>MultiViews</code>░í ╡┐└█╟╧╕τ
<code>/some/dir/foo</code>░í ┴╕└τ╟╧┴÷ <em>╛╩└╗</em> ░µ┐∞,
╝¡╣÷┤┬ ╡≡╖║┼Σ╕«┐í╝¡ └╠╕º└╠ foo.*└╬ ╞─└╧╡Θ└╗ ╕≡╡τ ╞≈╟╘╟╧┤┬
░í╗≤└╟ type map└╗ ╕╕╡τ┤┘. ┼¼╢≤└╠╛≡╞«░í ┐Σ├╗╟╤ media type░·
content-encoding└╗ ░í┴÷░φ └╠┴▀┐í ░í└σ └√╟╒╟╤ ░═└╗ ╝▒┼├╟╤┤┘.</p>
<p><code>MultiViews</code>┤┬ ╝¡╣÷░í ╡≡╖║┼Σ╕«╕ª ┬ⁿ┴╢╟╥╢º
╞─└╧└╗ ├ú┤┬ <code class="directive"><a href="./mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> ┴÷╜├╛ε┐í╡╡
└√┐δ╡╚┤┘. ╝│┴ñ╞─└╧└╠ ┤┘└╜░· ░░┤┘╕Θ,</p>
<div class="example"><p><code>DirectoryIndex index</code></p></div>
<p><code>index.html</code>░· <code>index.html3</code>└╠
╕≡╡╬ └╓┤┘╕Θ ╝¡╣÷┤┬ └╠╡╤ ┴▀┐í ╟╧│¬╕ª ░ß┴ñ╟╤┤┘. ╡╤ ╕≡╡╬ ╛°░φ
<code>index.cgi</code>░í └╓┤┘╕Θ, ╝¡╣÷┤┬ ▒╫░═└╗ ╜╟╟α╟╤┤┘.</p>
<p>╡≡╖║┼Σ╕«╕ª └╨└╗╢º ╞─└╧┴▀ ╟╧│¬░í Charset, Content-Type,
Language, Encoding╕ª ╞╟┤▄╟╧┤┬ <code>mod_mime</code>└╠ ╕≡╕ú┤┬
╚«└σ└┌╕ª ░í┴°┤┘╕Θ, ░ß░·┤┬ <code class="directive"><a href="./mod/mod_mime.html#multiviewsmatch">MultiViewsMatch</a></code> ┴÷╜├╛ε ╝│┴ñ┐í
┤▐╖╟┤┘. └╠ ┴÷╜├╛ε┤┬ ╟┌╡Θ╖», ╟╩┼═, ┤┘╕Ñ ╚«└σ╟ⁿ╡Θ└╠ MultiViews
╟∙╗≤┐í ┬ⁿ┐⌐╟╥┴÷ ┐⌐║╬╕ª ░ß┴ñ╟╤┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="methods" id="methods">╟∙╗≤╣µ╣²</a></h2>
<p>╛╞╞──í░í type-map ╞─└╧└╠│¬ ╡≡╖║┼Σ╕«┐í └╓┤┬ ╞─└╧╕φ╡Θ╖╬
┴╓╛ε┴° └┌┐°┐í ┤δ╟╤ ║»╟ⁿ ╕±╖╧└╗ ╛≥░╘╡╟╕Θ '├╓└√└╟' ║»╟ⁿ└╗
░ß┴ñ╟╧▒Γ└º╟╪ ╡╬ ╣µ╣²┴▀ ╟╧│¬╕ª ╗τ┐δ╟╤┤┘. ╛╞╞──í │╗┐δ╟∙╗≤
▒Γ┤╔└╗ ╗τ┐δ╟╧▒Γ└º╟╪ ┴ñ╚«╚≈ ╟∙╗≤└╠ ╛ε╢╗░╘ └╧╛ε│¬┤┬┴÷ └┌╝╝╚≈
╛╦ ╟╩┐Σ┤┬ ╛°┤┘. ▒╫╖»│¬ ▒├▒▌╟╤ ╗τ╢≈└╗ └º╟╪ └╠ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
<p>╡╬░í┴÷ ╟∙╗≤╣µ╣²└╠ └╓┤┘:</p>
<ol>
<li><strong>╛╞╞──í ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧┐⌐ ╝¡╣÷░í ┴╓╡╡╟╧┤┬
╟∙╗≤</strong>└║ └╧╣▌└√└╬ ░µ┐∞┐í ╗τ┐δ╟╤┤┘. ╛╞╞──í ╛╦░φ╕«┴≥└║
╛╞╖í╝¡ └┌╝╝╚≈ ╝│╕φ╟╤┤┘. └╠ ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧╕Θ ╛╞╞──í┤┬
┤⌡ │¬└║ ░ß░·╕ª ╛≥▒Γ└º╟╪ ┴╛┴╛ ╞»┴ñ ╣ⁿ└º└╟
╟░┴·░Φ╝÷(quality factor)╕ª '┴╢└█╟╤┤┘'. ╛╞╞──í░í ╟░┴·░Φ╝÷╕ª
┴╢└█╟╧┤┬ ╣µ╣²└║ ╛╞╖í╝¡ └┌╝╝╚≈ ╝│╕φ╟╤┤┘.</li>
<li><strong>└┌┐¼╜║╖»┐ε(Transparent) │╗┐δ╟∙╗≤</strong>└║
║Ω╢≤┐∞└·░í RFC 2295┐í ┴ñ└╟╡╚ ╣µ╣²└╕╖╬ ┐Σ├╗╟╥ ░µ┐∞┐í╕╕
╗τ┐δ╟╤┤┘. └╠ ╟∙╗≤╣µ╣²└║ '├╓└√└╟' ║»╟ⁿ└╗ ░ß┴ñ╟╥ ▒╟╟╤└╗
║Ω╢≤┐∞└·┐í░╘ ║╬┐⌐╟╤┤┘. ▒╫╖í╝¡ ░ß░·┤┬ ║Ω╢≤┐∞└·└╟ ╛╦░φ╕«┴≥┐í
┤▐╖╚┤┘. └┌┐¼╜║╖»┐ε ╟∙╗≤░·┴ñ┴▀┐í ║Ω╢≤┐∞└·┤┬ ╛╞╞──í┐í░╘
RFC 2296┐í ┴ñ└╟╡╚ '┐°░▌ ║»╟ⁿ╝▒┼├ ╛╦░φ╕«┴≥(remote variant
selection algorithm)'└╗ ┐Σ├╗╟╥ ╝÷ └╓┤┘.</li>
</ol>
<h3><a name="dimensions" id="dimensions">╟∙╗≤└╟ ╣ⁿ└º</a></h3>
<table>
<tr valign="top">
<th>╣ⁿ└º</th>
<th>╝│╕φ</th>
</tr>
<tr valign="top">
<td>Media Type</td>
<td>║Ω╢≤┐∞└·┤┬ Accept ╟∞┤⌡╖╬ ╝▒╚ú╕ª │¬┼╕│╜┤┘. ░ó ╟╫╕±└║
╟░┴·░Φ╝÷╕ª ░í┴· ╝÷ └╓┤┘. ║»╟ⁿ└╟ ╝│╕φ╡╡ ╟░┴·░Φ╝÷╕ª ("qs"
╞─╢≤╣╠┼═) ░í┴· ╝÷ └╓┤┘.</td>
</tr>
<tr valign="top">
<td>Language</td>
<td>║Ω╢≤┐∞└·┤┬ Accept-Language ╟∞┤⌡╖╬ ╝▒╚ú╕ª │¬┼╕│╜┤┘.
░ó ╟╫╕±└║ ╟░┴·░Φ╝÷╕ª ░í┴· ╝÷ └╓┤┘. ║»╟ⁿ└║ ┐⌐╖» ╛≡╛ε╕ª
░í┴· (╚ñ└║ ╛╞╣½ ╛≡╛ε╡╡ ╛°└╗) ╝÷ └╓┤┘.</td>
</tr>
<tr valign="top">
<td>Encoding</td>
<td>║Ω╢≤┐∞└·┤┬ Accept-Encoding ╟∞┤⌡╖╬ ╝▒╚ú╕ª │¬┼╕│╜┤┘.
░ó ╟╫╕±└║ ╟░┴·░Φ╝÷╕ª ░í┴· ╝÷ └╓┤┘.</td>
</tr>
<tr valign="top">
<td>Charset</td>
<td>║Ω╢≤┐∞└·┤┬ Accept-Charset ╟∞┤⌡╖╬ ╝▒╚ú╕ª │¬┼╕│╜┤┘.
░ó ╟╫╕±└║ ╟░┴·░Φ╝÷╕ª ░í┴· ╝÷ └╓┤┘. ║»╟ⁿ└║ media type└╟
╞─╢≤╣╠┼═╖╬ ╣«└┌┴²╟╒└╗ │¬┼╕│╛ ╝÷ └╓┤┘.</td>
</tr>
</table>
<h3><a name="algorithm" id="algorithm">╛╞╞──í ╟∙╗≤ ╛╦░φ╕«┴≥</a></h3>
<p>╛╞╞──í┤┬ ║Ω╢≤┐∞└·┐í░╘ ║╕│╛ '├╓└√└╟' ║»╟ⁿ└╗ (└╓┤┘╕Θ)
╝▒┼├╟╧▒Γ└º╟╪ ╛╞╖í ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╤┤┘. └╠ ╛╦░φ╕«┴≥└║ ║»░µ╟╥
╝÷ ╛°┤┘. ┤┘└╜┐═ ░░└╠ ╡┐└█╟╤┤┘:</p>
<ol>
<li>╕╒└·, ╟∙╗≤└╟ ░ó ╣ⁿ└º┐í ┤δ╟╪ ╟╪┤τ╟╧┤┬ <em>Accept*</em>
╟∞┤⌡╕ª ░╦╗τ╟╧░φ, ░ó ║»╟ⁿ┐í ╟░┴·░¬└╗ ╕┼▒Σ┤┘. ╛ε╢▓ ╣ⁿ└º└╟
<em>Accept*</em> ╟∞┤⌡░í ╣▐╛╞╡Θ└╠┴÷ ╛╩┤┬ ║»╟ⁿ└║ ╚─║╕┐í╝¡
┴ª┐▄╟╤┤┘. ╛ε╢▓ ║»╟ⁿ╡╡ │▓┴÷╛╩└╕╕Θ 4 ┤▄░Φ╖╬ ░ú┤┘.</li>
<li>
╚─║╕┐í╝¡ ╟╧│¬╛┐ ┴ª┐▄╟╧┐⌐ '├╓└√└╟' ║»╟ⁿ└╗ ├ú┤┬┤┘. ┤┘└╜
░ó ░╦╗τ┤┬ ╝°╝¡┤δ╖╬ └╧╛ε│¡┤┘. ░ó ░╦╗τ┐í╝¡ ╝▒┼├╡╟┴÷╛╩└║
║»╟ⁿ└║ ┴ª┐▄╡╚┤┘. ░ó ░╦╗τ╚─ ╟╤ ║»╟ⁿ╕╕ │▓└╕╕Θ └╠╕ª ├╓└√└╟
║»╟ⁿ└╕╖╬ ╝▒┼├╟╧░φ 3 ┤▄░Φ╖╬ ░ú┤┘. ┐⌐╖» ║»╟ⁿ└╠ │▓└╕╕Θ
┤┘└╜ ░╦╗τ╕ª ┴°╟α╟╤┤┘.
<ol>
<li>Accept ╟∞┤⌡└╟ ╟░┴·░Φ╝÷┐═ ║»╟ⁿ└╟ media type┐í ┤δ╟╤
╟░┴·░¬└╗ ░÷╟╧┐⌐ ░í└σ │⌠└║ ░¬└╗ ░í┴° ║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.</li>
<li>░í└σ │⌠└║ ╛≡╛ε(language) ╟░┴·░Φ╝÷╕ª ░í┴° ║»╟ⁿ└╗
╝▒┼├╟╤┤┘.</li>
<li>Accept-Language ╟∞┤⌡┐í (└╓┤┘╕Θ) │¬┐┬ ╛≡╛ε└╟ ╝°╝¡
╚ñ└║ <code>LanguagePriority</code> ┴÷╜├╛ε┐í (└╓┤┘╕Θ)
│¬┐┬ ╛≡╛ε└╟ ╝°╝¡╕ª ░í┴÷░φ ░í└σ └√╟╒╟╤ ╛≡╛ε╕ª ░í┴°
║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.</li>
<li>░í└σ │⌠└║ (text/html media type└╟ ╣÷└ⁿ└╗ │¬┼╕│╗┤┬)
'level' media ╞─╢≤╣╠┼═╕ª ░í┴° ║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.</li>
<li>Accept-Charset ╟∞┤⌡╕ª ░í┴÷░φ ░í└σ └√╟╒╟╤ charset
media ╞─╢≤╣╠┼═╕ª ░í┴° ║»╟ⁿ└╗ ├ú┤┬┤┘. ╟∞┤⌡░í ╛°┤┘╕Θ
ISO-8859-1 ╣«└┌┴²╟╒└╗ ░í└σ ╝▒╚ú╟╤┤┘. <code>text/*</code>
media type└╗ ░í┴÷┴÷╕╕ ╕φ╜├└√└╕╖╬ ╞»┴ñ ╣«└┌┴²╟╒░·
┐¼░ß╡╟┴÷╛╩└║ ║»╟ⁿ└║ ISO-8859-1╖╬ ░í┴ñ╟╤┤┘.</li>
<li>ISO-8859-1└╠ <em>╛╞┤╤</em> charset media ╞─╢≤╣╠┼═╕ª
░í┴° ║»╟ⁿ╡Θ└╗ ╝▒┼├╟╤┤┘. ▒╫╖▒ ║»╟ⁿ└╠ ╛°┤┘╕Θ, ┤δ╜┼ ╕≡╡τ
║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.</li>
<li>░í└σ └√╟╒╟╤ └╬─┌╡∙└╗ ░í┴° ║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.
user-agent┐í └√╟╒╟╤ └╬─┌╡∙└╗ ░í┴° ║»╟ⁿ└╠ └╓┤┘╕Θ ▒╫
║»╟ⁿ╕╕└╗ ╝▒┼├╟╤┤┘. ▒╫╖╕┴÷╛╩░φ └╬─┌╡∙╡╚ ║»╟ⁿ░· └╬─┌╡∙╛╚╡╚
║»╟ⁿ└╠ ░░└╠ └╓┤┘╕Θ └╬─┌╡∙╛╚╡╩ ║»╟ⁿ╕╕└╗ ╝▒┼├╟╤┤┘. ║»╟ⁿ└╠
╕≡╡╬ └╬─┌╡∙╡╟╛·░┼│¬ ╕≡╡╬ └╬─┌╡∙╛╚╡╚ ░µ┐∞ ╕≡╡τ ║»╟ⁿ└╗
╝▒┼├╟╤┤┘.</li>
<li>content length░í ░í└σ └√└║ ║»╟ⁿ└╗ ╝▒┼├╟╤┤┘.</li>
<li>│▓└║ ░═┴▀ ├╣╣°└τ ║»╟ⁿ└╗ ╝▒┼├╟╤┤┘. └╠┤┬ type-map
╞─└╧└╟ ╛╒┐í │¬┐╘░┼│¬, ╡≡╖║┼Σ╕«┐í╝¡ ║»╟ⁿ└╗ └╨└║ ░µ┐∞
╞─└╧╕φ└╗ ASCII ─┌╡σ ╝°╝¡╖╬ ╟╧┐⌐ ╛╒┐í │¬┐└┤┬ ░═└╠┤┘.</li>
</ol>
</li>
<li>└╠┴ª ╛╦░φ╕«┴≥└╠ '├╓└√└╟' ║»╟ⁿ└╗ ╝▒┼├╟▀┤┘. └╠░═└╗ └└┤Σ└╕╖╬
║╕│╜┤┘. HTTP └└┤Σ ╟∞┤⌡ Vary┤┬ ╟∙╗≤└╟ ╣ⁿ└º╕ª │¬┼╕│╗░╘ ╡╚┤┘.
(║Ω╢≤┐∞└·┐═ ─│╜¼┤┬ └┌┐°└╗ ─│╜¼╟╥╢º └╠ ┴ñ║╕╕ª ╗τ┐δ╟╥ ╝÷
└╓┤┘.) │í.</li>
<li>└╠ ┤▄░Φ┐í ╡╡┤▐╟▀┤┘╕Θ (╕≡╡╬ ║Ω╢≤┐∞└·░í ╣▐┴÷╕°╟╧▒Γ ╢º╣«┐í)
╛ε╢▓ ║»╟ⁿ╡╡ ╝▒┼├└╠ ╛╚╡╚ ░µ┐∞┤┘. ("No acceptable
representation"╕ª ╢µ╟╧┤┬) ╗≤┼┬ 406░· │╗┐δ└╕╖╬ ╗τ┐δ░í┤╔╟╤
║»╟ⁿ└╟ ╕±╖╧└╗ ┤π└║ HTML ╣«╝¡╕ª └└┤Σ└╗ ║╕│╜┤┘. ╢╟, HTML
Vary ╟∞┤⌡┤┬ ║»╟ⁿ└╟ ╣ⁿ└º╕ª │¬┼╕│╜┤┘.</li>
</ol>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="better" id="better">╟░┴·░Φ╝÷ ┴╢└█╟╧▒Γ</a></h2>
<p>╛╞╞──í┤┬ ┴╛┴╛ └º└╟ ╛╞╞──í ╟∙╗≤ ╛╦░φ╕«┴≥└╗ ╛÷░▌╚≈ ┴÷┼░┴÷╛╩░φ
╟░┴·░Φ╝÷╕ª ║»░µ╟╤┤┘. └╠└»┤┬ ┐╧└ⁿ╟╧░φ ┴ñ╚«╟╤ ┴ñ║╕╕ª ║╕│╗┴÷╛╩┤┬
║Ω╢≤┐∞└·┐í░╘ (╛╦░φ╕«┴≥└╟) ┤⌡ │¬└║ ░ß░·╕ª ║╕│╗▒Γ └º╟╪╝¡┤┘.
│╬╕« ╛▓└╠┤┬ ║Ω╢≤┐∞└·┴▀ └╧║╬┤┬ └┌┴╓ └▀╕°╡╚ ║»╟ⁿ└╗ ╝▒┼├╟╧╡╡╖╧
Accept ╟∞┤⌡╕ª ║╕│╜┤┘. ║Ω╢≤┐∞└·░í ┐╧└ⁿ╟╧░φ ┐├╣┘╕Ñ ┴ñ║╕╕ª
║╕│╜┤┘╕Θ, ┴╢└█└╗ ╟╧┴÷╛╩┤┬┤┘.</p>
<h3><a name="wildcards" id="wildcards">Media Type░· ┐═└╧╡σ─½╡σ</a></h3>
<p>Accept: ┐Σ├╗ ╟∞┤⌡┤┬ media type┐í ┤δ╟╤ ╝▒╚ú╕ª │¬┼╕│╜┤┘.
╢╟, *┤┬ ╛ε╢▓ ╣«└┌┐¡└╠╢≤╡╡ ░í┤╔╟╧▒Γ╢º╣«┐í "image/*"│¬ "*/*"
░░└╠ '┐═└╧╡σ─½╡σ' media type└╗ ╗τ┐δ╟╥ ╝÷╡╡ └╓┤┘. ▒╫╖í╝¡
┤┘└╜░· ░░└║ ┐Σ├╗└║:</p>
<div class="example"><p><code>Accept: image/*, */*</code></p></div>
<p>"image/"╖╬ ╜├└█╟╧┤┬ ╛ε╢▓ type░· ┤┘╕Ñ ╛ε╢▓ type╡╡ ░í┤╔╟╘└╗
└╟╣╠╟╤┤┘. ╛ε╢▓ ║Ω╢≤┐∞└·┤┬
└┌╜┼└╠ ╜╟┴ª╖╬ ┤┘╖Ω ╝÷ └╓┤┬ type┐í ├▀░í╖╬ ┐═└╧╡σ─½╡σ╕ª ║╕│╜┤┘.
┐╣╕ª ╡Θ╕Θ:</p>
<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*
</code></p></div>
<p>└╠└»┤┬ ┴≈┴ó ┐¡░┼╟╤ type└╗ ╝▒╚ú╟╧┴÷╕╕ ┤┘╕Ñ ╟Ñ╟÷└╠ └╓┤┘╕Θ
▒╫░═╡╡ ▒ª┬·└╜└╗ │¬┼╕│╗▒Γ └º╟╪╝¡┤┘. ║Ω╢≤┐∞└·░í ╜╟┴ª╖╬ ┐°╟╤
░═└║ ┤┘└╜░· ░░└╠ ╕φ╜├└√└╕╖╬ ╟░┴·░¬└╗ ╗τ┐δ╟╤ ░═└╠┤┘.</p>
<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
</code></p></div>
<p>┴≈┴ó ┐¡░┼╟╤ type└║ ╟░┴·░Φ╝÷░í ╛°╛ε╝¡ ▒Γ║╗░¬└╬ (░í└σ │⌠└║)
1.0└╗ ░í┴°┤┘. ┐═└╧╡σ─½╡σ */*┤┬ │╖└║ ╝▒╚ú╡╡ 0.01└╗ ░í┴÷╣╟╖╬
┴≈┴ó ┐¡░┼╟╤ type┐í ╕┬┤┬ ║»╟ⁿ└╠ ╛°┤┬ ░µ┐∞┐í╕╕ ┤┘╕Ñ type╡Θ└╠
╗τ┐δ╡╚┤┘.</p>
<p>Accept: ╟∞┤⌡┐í q ░Φ╝÷░í └ⁿ╟⌠ <em>╛°░φ</em> "*/*"░í └╓┤┘╕Θ,
╛╞╞──í┤┬ ╣┘╢≈┴≈╟╤ ╟α╡┐└╗ └º╟╪ q ░¬└╕╖╬ 0.01└╗ ┴÷┴ñ╟╤┤┘.
╢╟, "type/*" ╟ⁿ┼┬└╟ ┐═└╧╡σ─½╡σ┐í┤┬ ("*/*"║╕┤┘┤┬ ┤⌡ ╝▒╚ú╟╧╡╡╖╧)
0.02╕ª ┴÷┴ñ╟╤┤┘. Accept: ╟∞┤⌡┐í╝¡ q ░Φ╝÷╕ª ░í┴÷┤┬ media type└╠
└╓┤┘╕Θ └╠╖▒ ╞»║░╟╤ ░¬└╗ ├▀░í╟╧┴÷ <em>╛╩┤┬┤┘</em>. ▒╫╖í╝¡
╕φ╜├└√└╬ ┴ñ║╕╕ª ║╕│╗┤┬ ║Ω╢≤┐∞└·└╟ ┐Σ├╗└║ ┐Σ├╗╟╤╡Ñ╖╬ ├│╕«╟╤┤┘.</p>
<h3><a name="exceptions" id="exceptions">╛≡╛ε(language) ╟∙╗≤└╟ ┐╣┐▄</a></h3>
<p>╛╞╞──í 2.0└║ ╛≡╛ε ╟∙╗≤└╠ ╜╟╞╨╟╤ ░µ┐∞ ║╬╡σ╖┤░╘ ║╣▒╕╟╧▒Γ└º╟╪
╟∙╗≤ ╛╦░φ╕«┴≥┐í ╗⌡╖╬ ┐╣┐▄╕ª ╕ε░│ ├▀░í╟▀┤┘.</p>
<p>┼¼╢≤└╠╛≡╞«░í ╝¡╣÷┐í ╞Σ└╠┴÷╕ª ┐Σ├╗╟▀└╗╢º ╝¡╣÷░í ║Ω╢≤┐∞└·░í
║╕│╜ Accept-language┐í ╕┬┤┬ ╞Σ└╠┴÷╕ª ┤▄ ╟╤░│╕╕ ├ú└╕╕Θ ╣«┴ª░í
╛°┴÷╕╕, ▒╫╖»┴÷ ╛╩└║ ░µ┐∞ ╝¡╣÷┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ "No Acceptable
Variant"│¬ "Multiple Choices" └└┤Σ└╗ ║╕│╜┤┘. └╠╖▒ ┐└╖∙╣«└╗
╟╟╟╧▒Γ└º╟╪ └╠ ░µ┐∞ Accept-language╕ª ╣½╜├╟╧░φ ┼¼╢≤└╠╛≡╞«└╟
┐Σ├╗┐í ╕φ╚«╚≈ ╕┬┴÷┤┬ ╛╩┴÷╕╕ ╣«╝¡╕ª ║╕│╗╡╡╖╧ ╛╞╞──í╕ª ╝│┴ñ╟╥
╝÷ └╓┤┘. <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code>
┴÷╜├╛ε┤┬ ╝¡╣÷░í └╠╖▒ ┐└╖∙╣«┴▀ ╟╧│¬ ╚ñ└║ ╡╤┤┘╕ª ╣½╜├╟╧░φ
<code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
┴÷╜├╛ε╖╬ ╞╟┤▄╟╧╡╡╖╧ ╟╤┤┘.</p>
<p>╢╟, ╝¡╣÷┤┬ ╕┬┤┬ ╛≡╛ε╕ª ╕°├ú└║ ░µ┐∞ ║╬╕≡╛≡╛ε╕ª ├ú└╗ ╝÷╡╡
└╓┤┘. ┐╣╕ª ╡Θ╛ε ┼¼╢≤└╠╛≡╞«░í ┐╡▒╣┐╡╛ε╕ª ╢µ╟╧┤┬
<code>en-GB</code> ╛≡╛ε╖╬ ╣«╝¡╕ª ┐Σ├╗╟╤ ░µ┐∞, HTTP/1.1 ╟Ñ┴╪┐í
╡√╕ú╕Θ ╝¡╣÷┤┬ <code>en</code>└╕╖╬╕╕ ╟Ñ╜├╡╚ ╣«╝¡╕ª └╧╣▌└√└╕╖╬
╝▒┼├╟╧┴÷ ╕°╟╤┤┘. (▒╫╖í╝¡ ┐╡▒╣┐╡╛ε╕ª └╠╟╪╟╧┤┬ ╡╢└┌░í └╧╣▌└√└╬
┐╡╛ε╡╡ └╠╟╪╟╥ ╝÷ └╓└╕╣╟╖╬ Accept-Language ╟∞┤⌡┐í
<code>en-GB</code>╕╕ ╞≈╟╘╟╧░φ <code>en</code>└╗ ╞≈╟╘╟╧┴÷╛╩└╕╕Θ
░┼└╟ ╚«╜╟╚≈ └▀╕°╡╚ ╝│┴ñ└╙└╗ └»└╟╟╧╢≤. ║╥╟α╚≈╡╡ ╟÷└τ ╕╣└║
┼¼╢≤└╠╛≡╞«╡Θ└║ └╠╖▒ ╜─└╕╖╬ ▒Γ║╗╝│┴ñ╡╟└╓┤┘.) ┤┘╕Ñ ╛≡╛ε╕ª
├ú┴÷ ╕°╟╧┐⌐ ╝¡╣÷░í "No Acceptable Variants" ┐└╖∙╕ª ║╕│╗░┼│¬
<code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>╖╬
╡╣╛╞░í╛▀ ╟╤┤┘╕Θ, ╝¡╣÷┤┬ ╟╧└º╛≡╛ε ▒╘╛α└╗ ╣½╜├╟╧░φ
<code>en-GB</code>╕ª <code>en</code> ╣«╝¡┐í ┤δ└└╟╤┤┘.
╛╧╣¼└√└╕╖╬ ╛╞╞──í┤┬ ║╬╕≡╛≡╛ε╕ª ╕┼┐∞ │╖└║ ╟░┴·░¬└╕╖╬
┼¼╢≤└╠╛≡╞«└╟ ╟π┐δ╛≡╛ε ╕±╖╧┐í ├▀░í╟╤┤┘. ▒╫╖»│¬ ┼¼╢≤└╠╛≡╞«░í
"en-GB; qs=0.9, fr; qs=0.8"└╗ ┐Σ├╗╟╧░φ ╝¡╣÷┐í "en"░· "fr"
╣«╝¡░í └╓┤┘╕Θ, "fr" ╣«╝¡░í ╝▒┼├╡╩└╗ ┴╓└╟╟╧╢≤. └╠┤┬ HTTP/1.1
╟Ñ┴╪└╗ ┴÷┼░░φ, ┐├╣┘╖╬ ╝│┴ñ╡╚ ┼¼╢≤└╠╛≡╞«┐═ ╚┐└▓└√└╕╖╬
╡┐└█╟╧▒Γ└º╟╘└╠┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="extensions" id="extensions">└┌┐¼╜║╖»┐ε(transparent) │╗┐δ╟∙╗≤└╟ ╚«└σ</a></h2>
<p>╛╞╞──í┤┬ ┤┘└╜░· ░░└╠ └┌┐¼╜║╖»┐ε │╗┐δ╚«└σ ╟┴╖╬┼Σ─▌└╗ (RFC 2295)
╚«└σ╟╤┤┘. ║»╟ⁿ ╕±╖╧└╟ ╗⌡╖╬┐ε <code>{encoding ..}</code>┤┬ ╞»┴ñ
content-encoding└╗ ░í┴° ║»╟ⁿ╕╕└╗ ┴÷─¬╟╤┤┘. RVSA/1.0 ╛╦░φ╕«┴≥└║
(RFC 2296) ╕±╖╧┐í╝¡ └╬─┌╡∙╡╚ ║»╟ⁿ└╗ └╬╜─╟╥ ╝÷ └╓░φ, └╬─┌╡∙└╠
Accept-Encoding ┐Σ├╗ ╟∞┤⌡┐í ╕┬┤┬ ░µ┐∞ └╬─┌╡∙╡╚ ║»╟ⁿ╡Θ╡╡ ╚─║╕╖╬
╗τ┐δ╟╧╡╡╖╧ ╚«└σ╡╟╛·┤┘. RVSA/1.0 ▒╕╟÷└║ ├╓└√└╟ ║»╟ⁿ└╗ ├ú▒Γ └ⁿ┐í
░Φ╗Ω╡╚ ╟░┴·░Φ╝÷╕ª ╝╥╝÷┴í 5└┌╕«┐í╝¡ ╣▌┐├╕▓╟╧┴÷ ╛╩┤┬┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="naming" id="naming">╟╧└╠╞█╕╡┼⌐┐═ └╠╕º▒╘─ó┐í ┤δ╟╧┐⌐</a></h2>
<p>╛≡╛ε(language) ╟∙╗≤└╗ ╗τ┐δ╟╤┤┘╕Θ ╞─└╧└║ ┐⌐╖» ╚«└σ└┌╕ª
░í┴÷░φ ╚«└σ└┌└╟ ╝°╝¡┤┬ ║╕┼δ ░ⁿ░Φ╛°└╕╣╟╖╬ ╞─└╧╕φ┐í ┐⌐╖» ┤┘╕Ñ
└╠╕º▒╘─ó└╗ ╗τ┐δ╟╥ ╝÷ └╓┤┘. (└┌╝╝╟╤ │╗┐δ└║ <a href="mod/mod_mime.html#multipleext">mod_mime</a> ╣«╝¡╕ª
┬ⁿ░φ╟╧╢≤.)</p>
<p>└ⁿ╟ⁿ└√└╬ ╞─└╧└║ MIME-type ╚«└σ└┌ (<em>┐╣╕ª ╡Θ╛ε</em>,
<code>html</code>), ░µ┐∞┐í ╡√╢≤ encoding ╚«└σ└┌ (<em>┐╣╕ª
╡Θ╛ε</em>, <code>gz</code>), ╞─└╧┐í ┐⌐╖» ╛≡╛ε ║»╟ⁿ└╠ └╓┤┬
░µ┐∞ ╣░╖╨ ╛≡╛ε ╚«└σ└┌╕ª (<em>┐╣╕ª ╡Θ╛ε</em>, <code>en</code>)
░í┴°┤┘.</p>
<p>┐╣┴ª:</p>
<ul>
<li>foo.en.html</li>
<li>foo.html.en</li>
<li>foo.en.html.gz</li>
</ul>
<p>┤┘└╜└║ ╕ε╕ε ╞─└╧╕φ░· ▒╫ ╞─└╧┐í ┤δ╟╤ └»╚┐╟╧░φ └»╚┐╟╧┴÷╛╩└║
╟╧└╠╞█╕╡┼⌐╕ª ║╕└╬┤┘:</p>
<table class="bordered">
<tr>
<th>╞─└╧╕φ</th>
<th>└»╚┐╟╤ ╟╧└╠╞█╕╡┼⌐</th>
<th>└»╚┐╟╧┴÷╛╩└║ ╟╧└╠╞█╕╡┼⌐</th>
</tr>
<tr>
<td><em>foo.html.en</em></td>
<td>foo<br />
foo.html</td>
<td>-</td>
</tr>
<tr>
<td><em>foo.en.html</em></td>
<td>foo</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.en.gz</em></td>
<td>foo<br />
foo.html</td>
<td>foo.gz<br />
foo.html.gz</td>
</tr>
<tr>
<td><em>foo.en.html.gz</em></td>
<td>foo</td>
<td>foo.html<br />
foo.html.gz<br />
foo.gz</td>
</tr>
<tr>
<td><em>foo.gz.html.en</em></td>
<td>foo<br />
foo.gz<br />
foo.gz.html</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.gz.en</em></td>
<td>foo<br />
foo.html<br />
foo.html.gz</td>
<td>foo.gz</td>
</tr>
</table>
<p>└º ╟Ñ╕ª ║╕╕Θ ╟╧└╠╞█╕╡┼⌐┐í ╛ε╢▓ ╚«└σ└┌╡╡ ╛°┤┬ └╠╕º└╗
(<em>┐╣╕ª ╡Θ╛ε</em>, <code>foo</code>) ╟╫╗≤ ╗τ┐δ╟╥ ╝÷ └╓└╜└╗
╛╦ ╝÷ └╓┤┘. └╠ ░µ┐∞ └σ┴í└║ ╣«╝¡└╟ ╜╟┴ª ┴╛╖∙╕ª ╝√▒µ ╝÷ └╓╛ε╝¡,
<em>┐╣╕ª ╡Θ╛ε</em> ╟╧└╠╖»╕╡┼⌐ ┬ⁿ┴╢╕ª ╝÷┴ñ╟╧╛╩░φ
<code>html</code> ╞─└╧└╗ <code>shtml</code>└╠│¬
<code>cgi</code>╖╬ ║»░µ╟╥ ╝÷ └╓┤┘┤┬ ┴í└╠┤┘.</p>
<p>░Φ╝╙ ╟╧└╠╞█╕╡┼⌐┐í MIME-type└╗ (<em>┐╣╕ª ╡Θ╛ε</em>,
<code>foo.html</code>) ╗τ┐δ╟╧░φ ╜═┤┘╕Θ (encoding ╚«└σ└┌░í
└╓┤┘╕Θ └╠░═╡╡ ╞≈╟╘╟╧┐⌐) ╛≡╛ε ╚«└σ└┌╕ª MIME-type ╚«└σ└┌║╕┤┘
┐└╕Ñ┬╩┐í (<em>┐╣╕ª ╡Θ╛ε</em>, <code>foo.html.en</code>)
╡╬╛ε╛▀╟╤┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="caching" id="caching">─│╜¼┐í ┤δ╟╧┐⌐</a></h2>
<p>─│╜¼░í ╟Ñ╟÷└╗ └·└σ╟╧╕Θ ╟Ñ╟÷░· ┐Σ├╗ URL└╗ ┐¼░ⁿ╜├┼▓┤┘.
┤┘└╜╣° ▒╫ URL└╗ ┐Σ├╗╟╧╕Θ ─│╜¼┤┬ └·└σ╡╚ ╟Ñ╟÷└╗ ╗τ┐δ╟╤┤┘.
▒╫╖»│¬ ╝¡╣÷┐═ ╟∙╗≤└╠ ░í┤╔╟╤ └┌┐°└╬ ░µ┐∞ ├╣╣°┬░ ┐Σ├╗╟╤ ║»╟ⁿ╕╕
─│╜¼╡╟╛ε └╠╚─ ┐Σ├╗└║ ─│╜¼╡╚ └▀╕°╡╚ └└┤Σ└╗ ╛≥└╗ ╝÷ └╓┤┘.
└╠╕ª ╕╖▒Γ└º╟╪ ╛╞╞──í┤┬ ║╕┼δ │╗┐δ╟∙╗≤╚─ ╣▌╚»╡╟┤┬ ╕≡╡τ ┐Σ├╗┐í
HTTP/1.0 ┼¼╢≤└╠╛≡╞«░í ─│╜¼╕ª ╕°╟╧╡╡╖╧ ╟Ñ╜├╕ª ╟╤┤┘. ╢╟, ╛╞╞──í┤┬
╟∙╗≤╟╤ └└┤Σ└╟ ─│╜¼╕ª ╟π┐δ╟╧┤┬ HTTP/1.1 ╟┴╖╬┼Σ─▌└╟ ▒Γ┤╔└╗
┴÷┐°╟╤┤┘.</p>
<p><code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code>
┴÷╜├╛ε┤┬ HTTP/1.0 ╚ú╚» ┼¼╢≤└╠╛≡╞«(║Ω╢≤┐∞└· ╚ñ└║ ─│╜¼)░í
║╕│╜ ┐Σ├╗┐í ┤δ╟╪ ╟∙╗≤╟╤ └└┤Σ└╗ ─│╜¼╟╥ ╝÷ └╓░╘ ╟╤┤┘. └╠ ┴÷╜├╛ε┤┬
╝¡╣÷│¬ ░í╗≤╚ú╜║╞« ╝│┴ñ┐í ╗τ┐δ╟╧╕τ, ╛╞▒╘╕╒╞«╕ª ╣▐┴÷╛╩┤┬┤┘.
└╠ ┴÷╜├╛ε┤┬ HTTP/1.1 ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗░·┤┬ ░ⁿ░Φ░í ╛°┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="more" id="more">┤┘╕Ñ ┴ñ║╕</a></h2>
<p>│╗┐δ╟∙╗≤┐í ┤δ╟╤ ┤┘╕Ñ ┴ñ║╕┤┬ Alan J. Flavell░í ╛┤ <a href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
Negotiation Notes</a>╕ª ┬ⁿ░φ╟╧╢≤. ▒╫╖»│¬ └╠ ╣«╝¡┤┬ ╛╞┴≈
╛╞╞──í 2.0└╟ ║»╚¡╕ª ╣▌┐╡╟╧┴÷ ╛╩└╗ ╝÷ └╓┤┘.</p>
</div></div>
<div class="bottomlang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/content-negotiation.html" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p></div>
</body></html>