Clarification requested: optional parameter

Andrew Arnott andrewarnott at gmail.com
Tue Jun 30 01:27:08 UTC 2009


Optional parameters should be absent rather than empty, unless the parameter
specifically indicates that an empty value is permissible.

My interpretation, and from what I've seen what people do.
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre


On Mon, Jun 29, 2009 at 7:52 AM, Jean-Noël Colin <jnc at info.fundp.ac.be>wrote:

> Hello,
> I would like to clarify something about optional parameters: does an
> optional parameter have to appear, but without value, or does it have to be
> skipped completely, or are both options valid?
>
> For instance, in authentication request, if I don't want to specify a
> claimed_id, do I simply not include the parameter in the list, or do I
> include it without value?
>
> openid.ns=http://specs.openid.net/auth/2.0
> openid.mode=checkid_immediate
> openid.claimed_id=
> openid.assoc_handle=thisisahandle
>
> vs
>
> openid.ns=http://specs.openid.net/auth/2.0
> openid.mode=checkid_immediate
> openid.assoc_handle=thisisahandle
>
> Best regards
>
> Jean-Noël Colin
>
> _______________________________________________
> specs mailing list
> specs at openid.net
> http://openid.net/mailman/listinfo/specs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs/attachments/20090629/edf111e1/attachment.htm>


More information about the specs mailing list