W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > December 2008

RE: p:http-request - POST with no c:body

From: <Toman_Vojtech@emc.com>
Date: Mon, 8 Dec 2008 08:44:39 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870DAFB06B@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> > I think that err:XC0005 should extended so it covers also 
> the case where
> > POST is used, but no c:body (nor c:multipart???) is provided.
> 
> the question to ask is if an HTTP POST with no content is valid or
> not, I think it is ... otherwise we should fallback on using HTTP
> Response codes instead of using xproc level errors.

You are right, maybe POST with no content is allowed... I have to czech.
As to the HTTP response codes, we already have that: The c:response
element returned by p:http-request can specify the status code of the
response.

Regards,
Vojtech
Received on Monday, 8 December 2008 13:45:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 December 2008 13:45:39 GMT