- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 13:04:54 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/docs
In directory hutz:/tmp/cvs-serv25124
Modified Files:
users.html
Log Message:
documenting the User-Agent string param
Index: users.html
===================================================================
RCS file: /sources/public/validator/htdocs/docs/users.html,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- users.html 17 Jul 2008 15:47:05 -0000 1.31
+++ users.html 22 Jul 2008 13:04:52 -0000 1.32
@@ -223,6 +223,14 @@
Validator for <a href="http://www.w3.org/TR/mobileOK-basic10-tests/#http_request">Mobile Web Best Practices</a>
checking.</p>
</dd>
+ <dt id="option-user-agent">Set a specific <code>User-Agent</code> Header (<code>user-agent</code>)</dt>
+ <dd>
+ <p>This option (<em>experimental, as of 0.8.3</em>) makes the validator send
+ a custom <code>User-Agent</code> HTTP header instead of the usual <code>W3C_Validator/xx.xxxx</code>.
+ If the value of this parameter is <code>mobileok</code>, the validator will output a <code>User-Agent</code>
+ string as defined by the <a href="http://www.w3.org/TR/mobileOK-basic10-tests/#http_request">Mobile Web Best Practices</a>
+ spec.</p>
+ </dd>
</dl>
<h4 id="Output">Output Options</h4>
<p>
Received on Tuesday, 22 July 2008 13:05:27 UTC