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

[closed] Re: Default auth-method in p:http-request

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

> Toman_Vojtech@emc.com writes:
>
>> If you specify username/password in c:request, but not auth-method, what
>> should happen? I can see three possible options here:
>>
>> - p:http-request will use Basic authentication (I think that is what
>> Calabash does at the moment)
>> - p:http-request issues a normal (no authentication) request
>> - p:http-request fails ("you always have to specify an authentication
>> method")
>
> I prefer the first or the last options, but I don't feel strongly about it.
> Anyone think there's clearly only one correct answer? And, if so, which
> is it? :-)

I made it an error and generalized err:XC0003 to cover it.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | What is more wonderful than the delight
http://nwalsh.com/            | which the mind feels when it *knows*?
                              | This delight is not for anything beyond
                              | the knowing, but is in the act of
                              | knowing. It is the satisfaction of a
                              | primary instinct.--Mark Rutherford

Received on Sunday, 9 November 2008 18:45:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:26 UTC