w3c / Unicorn

Unicorn - W3C's Unified Validator
https://validator.w3.org/unicorn/
Other
128 stars 59 forks source link

Allow to perform checks depending on the request type (URL, upload, direct) #104

Closed vivienlacourba closed 8 years ago

vivienlacourba commented 8 years ago

Reported by jean gui on 28 Jul 2010 11:36 UTC With the upcoming integration of the HTTP checker, Unicorn needs to be able to run some tests only if a resource is submitted by its URI. It indeed makes little sense to check HTTP conformance on uploaded documents.

Something like the following code would be sufficient (possible values: uri, upload, direct):

<cond id="cond1" result="passed" type="method">
    <value>uri</value>
</cond>
vivienlacourba commented 8 years ago

Comment by jean-gui on 22 Oct 2010 16:54 UTC Implemented in changeset:1536 and changeset:1537