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>


  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">


Florent Georges
Received on Tuesday, 3 February 2009 17:45:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC