[Fwd: [ERT] http request/response]

-------- Original Message --------
Subject: [ERT] http request/response
Date: Tue, 28 Jun 2005 11:19:26 +0200
From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
To: Nick Kew <nick@webthing.com>

Hi Nick,

<http://www.w3.org/WAI/ER/EARL10/schema.html> says, you are working on
the http stuff for WebContent. See following proposal. What do you
think? I prefer a different namespace for the HTTP stuff because IMHO it
should not be restricted to EARL.

<?xml version="1.0" encoding='UTF-8'?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#"
          xmlns:dc="http://purl.org/dc/elements/1.1/"
          xmlns:http="http://example.org/http/">
   <earl:WebContent>

<dc:location>http://example.org/somewhere/over/the/rainbow</dc:location>
     <dc:format>text/html</dc:format>
     <earl:httpRequest><!-- minCardinality=0 maxCardinality=1 -->
       <http:Request>
         <http:method>POST</http:method><!-- minCardinality=1
maxCardinality=1 -->
         <http:header>Accept: text/html;q=1.0,
*/*;q=0.1</http:header><!-- minCardinality=0 -->
         <http:header>Accept-Language: de;q=1.0, en;q=0.5</http:header>
         <http:header>Content-Type: some/type</http:header>
         <http:header>Content-Encoding: someEncoding</http:header>
         <http:entityBody>some entity body</http:entityBody><!--
minCardinality=0 maxCardinality=1 -->
       </http:Request>
     </earl:httpRequest>
     <earl:httpResponse><!-- minCardinality=0 maxCardinality=1 -->
       <http:Response>
         <http:header>Vary: accept</http:header>
         <http:header>Date: some date</http:header>
         <http:entityBody>the content of the web resource if we want to
include it in the EARL report</http:entityBody><!-- minCardinality=0
maxCardinality=1 -->
       </http:Response>
     </earl:httpResponse>
   </earl:WebContent>
</rdf:RDF>
-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628



-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628

Received on Tuesday, 28 June 2005 16:06:05 UTC