W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2007

Restrictions on HTTP properties

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Wed, 07 Mar 2007 17:53:52 +0100
Message-ID: <45EEEE20.80301@w3.org>
To: public-wai-ert@w3.org


Ref: <http://www.w3.org/WAI/ER/HTTP/WD-HTTP-in-RDF-20070301>

An interesting question came up during today's ERT call: do we want to 
specify min/max cardinality restrictions on properties in the HTTP 
vocabulary? For example, should there be a restriction on the number of 
responseCode properties in a response class?

One suggestion is that we want to record full requests and responses. 
That means, ones that conform the the RFC requirements. This would also 
be useful for recording the full extent of information in EARL reports.

Another suggestion is to allow incomplete requests and responses, for 
example to record broken interaction or when the test subject is the 
HTTP protocol itself (to test the conformance of a request or response).

In both cases, it is important to keep in mind that the HTTP vocabulary 
has been designed to be stand-alone for various use cases. Therefore we 
should not restrict the vocabulary too much. For example, we could 
consider adding a section about conformance to HTTP in the appendix 
about limitations of the schema (appendix B) rather than hard-code the 
restrictions in the schema itself.

With the background above in mind, here is a listing of the properties 
and a suggestions for the restrictions on them for discussion:

Connection Class
  - connectionAuthority: exactly 1
  - request: no restriction

Request Class
  - requestURI: at most 1
  - version: at most 1
  - header properties: no restriction
  - additionalHeader: no restriction
  - body: no restriction
  - response: no restriction

Response Class
  - version: at most 1
  - responseCode: at most 1
  - header properties: no restriction
  - additionalHeader: no restriction
  - body: no restriction

Looking forward to your thoughts and suggestions.


Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |
Received on Wednesday, 7 March 2007 16:54:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:55 UTC