Re: p:http-request - base64 encoded response c:body

Toman_Vojtech@emc.com writes:

> My question is: When creating response c:body elements that contain
> base64 encoded content, should/must the processor always set the
> "encoding" attribute to "base64", or is this optional since the media
> type tells us enough as to what type of data c:body contains.

I think it should, and I think I could support must.

> I would say that if the response c:body is base64 encoded, the
> "encoding" attribute must always be set, otherwise the user of
> p:http-request has to write some extra logic (using the content-type of
> the c:body he gets) to detect whether to decode the data or not.

Makes sense to me.

Alex, you're are http-request expert :-) What do you think?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | There is no monument dedicated to the
http://nwalsh.com/            | memory of a committee.--Lester J.
                              | Pourciau

Received on Friday, 7 November 2008 01:39:44 UTC