@@ -82,10 +82,9 @@ Negotiation</a></li>
8282 other media types, but also allowing any other media type as a
8383 last resort:</p >
8484
85- <div class =" example" ><p ><code >
86- Accept-Language: fr; q=1.0, en; q=0.5<br />
87- 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
88- </code ></p ></div >
85+ <div class =" example" ><pre class =" prettyprint lang-config" >Accept-Language: fr; q=1.0, en; q=0.5
86+ 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</pre >
87+ </div >
8988
9089 <p >httpd supports 'server driven' content negotiation, as
9190 defined in the HTTP/1.1 specification. It fully supports the
@@ -161,17 +160,16 @@ Negotiation</a></li>
161160 absolute or relative URIs for any file located on the same server as
162161 the map file.</p >
163162
164- <div class =" example" ><p ><code >
165- URI: foo<br />
166- <br />
167- URI: foo.en.html<br />
168- Content-type: text/html<br />
169- Content-language: en<br />
170- <br />
171- URI: foo.fr.de.html<br />
172- Content-type: text/html;charset=iso-8859-2<br />
173- Content-language: fr, de<br />
174- </code ></p ></div >
163+ <div class =" example" ><pre class =" prettyprint lang-config" >URI: foo
164+
165+ URI: foo.en.html
166+ Content-type: text/html
167+ Content-language: en
168+
169+ URI: foo.fr.de.html
170+ Content-type: text/html;charset=iso-8859-2
171+ Content-language: fr, de</pre >
172+ </div >
175173
176174 <p >Note also that a typemap file will take precedence over the
177175 filename's extension, even when Multiviews is on. If a
@@ -194,34 +192,32 @@ Negotiation</a></li>
194192 the original) in the type map file. The original file can be
195193 assigned its language in the type map without being renamed:</p >
196194
197- <div class =" example" ><p ><code >
198- URI: foo<br />
199- <br />
200- URI: foo.html<br />
201- Content-type: text/html<br />
202- Content-language: en<br />
203- <br />
204- URI: foo.fr.html<br />
205- Content-type: text/html<br />
206- Content-language: fr<br />
207- </code ></p ></div >
195+ <div class =" example" ><pre class =" prettyprint lang-config" >URI: foo
196+
197+ URI: foo.html
198+ Content-type: text/html
199+ Content-language: en
200+
201+ URI: foo.fr.html
202+ Content-type: text/html
203+ Content-language: fr</pre >
204+ </div >
208205
209206 <p >If the variants have different source qualities, that may be
210207 indicated by the "qs" parameter to the media type, as in this
211208 picture (available as JPEG, GIF, or ASCII-art): </p >
212209
213- <div class =" example" ><p ><code >
214- URI: foo<br />
215- <br />
216- URI: foo.jpeg<br />
217- Content-type: image/jpeg; qs=0.8<br />
218- <br />
219- URI: foo.gif<br />
220- Content-type: image/gif; qs=0.5<br />
221- <br />
222- URI: foo.txt<br />
223- Content-type: text/plain; qs=0.01<br />
224- </code ></p ></div >
210+ <div class =" example" ><pre class =" prettyprint lang-config" >URI: foo
211+
212+ URI: foo.jpeg
213+ Content-type: image/jpeg; qs=0.8
214+
215+ URI: foo.gif
216+ Content-type: image/gif; qs=0.5
217+
218+ URI: foo.txt
219+ Content-type: text/plain; qs=0.01</pre >
220+ </div >
225221
226222 <p >qs values can vary in the range 0.000 to 1.000. Note that
227223 any variant with a qs value of 0.000 will never be chosen.
0 commit comments