diff options
author | ot <ot@localhost> | 2007-07-09 04:56:27 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-07-09 04:56:27 +0000 |
commit | 0c4abf455ae1174c727b723fe3b3d530a9d1498a (patch) | |
tree | 3b9122fe1635c3a044f77981441fff4308017c56 /htdocs | |
parent | 862770a8dca1d0603728d5df8de820b641a748c6 (diff) | |
download | markup-validator-0c4abf455ae1174c727b723fe3b3d530a9d1498a.zip markup-validator-0c4abf455ae1174c727b723fe3b3d530a9d1498a.tar.gz markup-validator-0c4abf455ae1174c727b723fe3b3d530a9d1498a.tar.bz2 |
making the X-W3C-Validator-Status header more consistently report:
* Valid if validation passed
* Invalid if validation proceeded, failed
* Abort if validation could not be performed
Diffstat (limited to 'htdocs')
-rwxr-xr-x | htdocs/docs/api.html | 10 | ||||
-rwxr-xr-x | htdocs/docs/users.html | 5 |
2 files changed, 9 insertions, 6 deletions
diff --git a/htdocs/docs/api.html b/htdocs/docs/api.html index b6dcb31..cabb745 100755 --- a/htdocs/docs/api.html +++ b/htdocs/docs/api.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: api.html,v 1.10 2007-07-05 01:58:54 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-07-05 01:58:54 $" +<!--#set var="revision" value="\$Id: api.html,v 1.11 2007-07-09 04:56:26 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-07-09 04:56:26 $" --><!--#set var="title" value="Documentation of the Programmatic Interface (API) to The W3C Markup Validation Service" --><!--#set var="relroot" value="../" --><!--#include virtual="../header.html" --> @@ -313,8 +313,10 @@ element, but also the <code>warning</code> element are <code>line</code>, <code> <tr><th>Header</th><th>Value</th><th>Notes</th></tr> <tr> <td>X-W3C-Validator-Status</td> - <td><code>Valid</code> or <code>Invalid</code></td> - <td>May not be present if validation could not be performed (404 Not found, etc)</td> + <td><code>Valid</code> or <code>Invalid</code> if validation was performed.<br /> + value will be <code>Abort</code> if a fatal error (decoding, 404 not found, etc) + was encountered and validation could not be performed</td> + <td>Note: <code>Abort</code> value was added in version 0.8.0</td> </tr> <tr> <td>X-W3C-Validator-Errors</td> diff --git a/htdocs/docs/users.html b/htdocs/docs/users.html index 1574ceb..d2cdd5e 100755 --- a/htdocs/docs/users.html +++ b/htdocs/docs/users.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: users.html,v 1.26 2006-11-15 08:02:46 ot Exp $" ---><!--#set var="date" value="\$Date: 2006-11-15 08:02:46 $" +<!--#set var="revision" value="\$Id: users.html,v 1.27 2007-07-09 04:56:26 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-07-09 04:56:26 $" --><!--#set var="title" value="User Documentation for The W3C Markup Validation Service" --><!--#set var="relroot" value="../" --><!--#include virtual="../header.html" --> @@ -23,6 +23,7 @@ <ul> <li><a href="#Options">Options and Parameters</a></li> <li><a href="#Output">Output Formats</a></li> + <li><a href="api.html#http_headers">Using HTTP headers to know validation results</a></li> <li><a href="#deprecated_options">Deprecated options</a></li> </ul> </li> |