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

[closed] Re: p:http-request - base64 encoded response c:body

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 09 Nov 2008 13:41:32 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2y6zs3foj.fsf_-_@nwalsh.com>
Norman Walsh <ndw@nwalsh.com> writes:

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

I went ahead and made it a must.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Some people do their laundry in emacs,
http://nwalsh.com/            | but I find typing ^C-^X-^W-q-L-TT to
                              | add the fabric softener to be a bit
                              | cumbersome.-- rlr@panix.com

Received on Sunday, 9 November 2008 18:42:13 UTC

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