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

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

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 06 Nov 2008 20:38:55 -0500
To: public-xml-processing-model-comments@w3.org
CC: Alex Milowski <alex@milowski.org>
Message-ID: <m28wrw8gcw.fsf@nwalsh.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC