W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2009

p:http-request: error content

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 3 Feb 2009 18:44:51 +0100
Message-ID: <ebaca5bf0902030944i39f407b3mc0d32ace4cc71d0a@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

  Hi,

  On an error, HTTP servers sometimes return content anyway.  For
instance, on a 404 error, the server can send an HTML page
describing the error to the human user.  Even if this is not the
expected media type.  In such a case, what should be the result
of the step?

  Is it handled the normal way?  I.e. by returning something like
the following:

    <c:response status="404">
       <c:header .../>
       <c:header .../>
       <c:body content-type="text/html">
          ...
       </c:body>
    </c:response>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Tuesday, 3 February 2009 17:45:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 February 2009 17:45:27 GMT