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

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