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

Content-Type of http-request-007 on tests.xproc.org

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 5 Feb 2009 15:00:00 +0100
Message-ID: <ebaca5bf0902050600j2277199cx3615112307331bf2@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

  Hi,

  The test http-request-007 sends the following request:

    <c:request href="http://tests.xproc.org/service/echo" method="post">
       <c:body content-type="application/xml"><doc/></c:body>
    </c:request>

and expect the result to be the element <doc/>.  In order to get that,
the Content-Type of the response should be an XML media type, right?
But the server returns the type application/x-www-form-urlencoded.  Is
it normal?  Should the response type be modified on the server?
Should the c:request use @override-content-type?  Did I miss
something?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Thursday, 5 February 2009 14:01:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 February 2009 14:01:30 GMT