validator/htdocs/docs users.html,1.27,1.28

Update of /sources/public/validator/htdocs/docs
In directory hutz:/tmp/cvs-serv19846/htdocs/docs

Modified Files:
	users.html 
Log Message:
adding experimental parameters to set the Accept and Accept-Language headers

Index: users.html
===================================================================
RCS file: /sources/public/validator/htdocs/docs/users.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- users.html	9 Jul 2007 04:56:26 -0000	1.27
+++ users.html	27 Sep 2007 10:13:33 -0000	1.28
@@ -197,6 +197,24 @@
           as much help as possible; if you prefer more concise reports, leave this option
           unset.</p>
 	</dd>
+	<dt id="option-accept">For Content-Negotiated resources, set a specific <code>Accept</code> Header (<code>accept</code>)</dt>
+	<dd>
+	  <p>This option (<em>experimental, as of 0.8.2</em>) is useful if your Web server 
+	  is set up to use format negotiation, serving different
+	  content based on the preferred/accepted media types of the user-agent. The validator
+	  can then emulate different HTTP <code>Accept</code> behaviors.</p>
+	  <p>For example, append "<code>accept=application%2Fxhtml%2Bxml%2C*</code>" and the validator
+	    will send the HTTP Header "<code>Accept: application/xhtml+xml,*</code>".</p>
+	</dd>
+	<dt id="option-accept-language">For Content-Negotiated resources, set a specific <code>Accept-Language</code> Header (<code>accept</code>)</dt>
+	<dd>
+	  <p>This option (<em>experimental, as of 0.8.2</em>) is useful if your Web server 
+	  is set up to use language negotiation, serving content in different languages
+	   based on the preferred/accepted language setup of the user-agent. The validator
+	  can then emulate different HTTP <code>Accept-Language</code> behaviors.</p>
+	  <p>For example, append "<code>accept-language=ja%2Cfr</code>" and the validator
+	    will send the HTTP Header "<code>Accept-Language: ja,fr</code>".</p>
+	</dd>
       </dl>
         <h4 id="Output">Output Options</h4>
           <p>

Received on Thursday, 27 September 2007 10:13:44 UTC