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

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