diff options
author | ot <ot@localhost> | 2008-07-22 13:06:04 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2008-07-22 13:06:04 +0000 |
commit | fc81511bf15b1dea06db178f68c474b8d7d7f9bc (patch) | |
tree | 1e59c784368449a3faa64f578354e67b1227a9ff | |
parent | 0843ff1520a717e65cf9cc83b5162c4f418079eb (diff) | |
download | markup-validator-fc81511bf15b1dea06db178f68c474b8d7d7f9bc.zip markup-validator-fc81511bf15b1dea06db178f68c474b8d7d7f9bc.tar.gz markup-validator-fc81511bf15b1dea06db178f68c474b8d7d7f9bc.tar.bz2 |
documenting the User-Agent string param
-rwxr-xr-x | htdocs/docs/users.html | 12 | ||||
-rwxr-xr-x | htdocs/whatsnew.html | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/htdocs/docs/users.html b/htdocs/docs/users.html index b76e109..2b9dc9c 100755 --- a/htdocs/docs/users.html +++ b/htdocs/docs/users.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: users.html,v 1.31 2008-07-17 15:47:05 ot Exp $" ---><!--#set var="date" value="\$Date: 2008-07-17 15:47:05 $" +<!--#set var="revision" value="\$Id: users.html,v 1.32 2008-07-22 13:04:52 ot Exp $" +--><!--#set var="date" value="\$Date: 2008-07-22 13:04:52 $" --><!--#set var="title" value="User Documentation for The W3C Markup Validation Service" --><!--#set var="relroot" value="../" --><!--#include virtual="../header.html" --> @@ -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> diff --git a/htdocs/whatsnew.html b/htdocs/whatsnew.html index 055f7b6..7173344 100755 --- a/htdocs/whatsnew.html +++ b/htdocs/whatsnew.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: whatsnew.html,v 1.73 2008-07-17 15:47:05 ot Exp $" ---><!--#set var="date" value="\$Date: 2008-07-17 15:47:05 $" +<!--#set var="revision" value="\$Id: whatsnew.html,v 1.74 2008-07-22 13:06:04 ot Exp $" +--><!--#set var="date" value="\$Date: 2008-07-22 13:06:04 $" --><!--#set var="title" value="What's New at The W3C Markup Validation Service" --><!--#set var="relroot" value="./" --><!--#set var="feeds" value="1" @@ -29,8 +29,8 @@ <li>Bug Fix: the validator won't override a given document type with itself</li> <li>Conformance: The validator now warns about incorrect public/system identifiers combinations</li> <li>API: The <a href="docs/api.html#http_headers">custom HTTP headers in validator responses</a> now also include the number of warnings</li> - <li>Experimental Feature: added the new option to send a specific <code>Accept-Charset</code> header, in addition to <code>Accept</code> - and <code>Accept-Language</code> in <a href="#t2007-10-11">0.8.2</a>.</li> + <li>Experimental Feature: added the new option to send specific <code>Accept-Charset</code> and <code>User-Agent</code> headers, + in addition to <code>Accept</code> and <code>Accept-Language</code> in version <a href="#t2007-10-11">0.8.2</a>.</li> <li>Experimental Feature: the validator can output its <a href="/docs/users.html#Output">results as JSON</a>.</li> <li>Some documentation updates</li> </ul> |