diff options
author | Michael[tm] Smith <mike@w3.org> | 2015-07-22 23:16:20 +0900 |
---|---|---|
committer | Michael[tm] Smith <mike@w3.org> | 2015-07-27 14:15:09 +0900 |
commit | 1b12fe496bb457950944782f133f547cee3cef56 (patch) | |
tree | 15313ed84cd6fdaf292567e9bbef3d2886faf480 /htdocs/sgml-lib/ISO-HTML | |
parent | 4a5a0bd321aead5f01a7ad3decd33e1ebd0576ba (diff) | |
download | markup-validator-1b12fe496bb457950944782f133f547cee3cef56.zip markup-validator-1b12fe496bb457950944782f133f547cee3cef56.tar.gz markup-validator-1b12fe496bb457950944782f133f547cee3cef56.tar.bz2 |
Further refinements to checking of HTML5 documentsorigin/sideshowbarker/html5-updates
Tested and found to be working as expected.
This causes all validation requests for HTML5 documents to just get
re-posted as-is to https://validator.w3.org/nu/ using an HTTP 307
"Temporary Redirect".* —with the exception of any requests that have
`output=soap12` or `output=ucn` parameters.
The reason for making temporary exceptions for those soap12/ucn cases is that
some existing tools such as Dreamweaver apparently have integrated support
for HTML checking that relies on calling https://validator.w3.org/ to do
the validation, and that expects the results in the `output=soap12` format.
Other than those exceptions, this change properly 307-redirects all requests
for checking of HTML5 documents to https://validator.w3.org/nu/ (that
includes file-upload requests as well direct-input requests and URL-input
GET requests, and any `output=json` requests regardless of method).
*Note: Using a 307 gives the meaning "I'm redirecting this particular
request to https://validator.w3.org/nu/ but that doesn't imply you should
necessarily use https://validator.w3.org/nu/ for any further requests",
which seems like the right meaning for this particular case.
Diffstat (limited to 'htdocs/sgml-lib/ISO-HTML')
0 files changed, 0 insertions, 0 deletions