W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Re: submission/@method default

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 30 Nov 2016 08:55:32 -0800
Message-ID: <CAAc0PEWQqTCRg2scTQCnUFPvMiFVoXpWfiiCLQpK+gixM5S8zA@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
>
> What is our reasoning for not having a default? I don't see what it buys
> us.
>
> I would suggest we pick a value, and the two candidates seem to be GET and
> POST,
> GET because it is the most highly occurring, and POST because it is the
> one that serialises as XML.
>
> Despite that, I would vote for GET, since it is the simple one (at the
> receiving end).
>

+1 for defaulting to GET, and it's the default in HTML [1]:

    "The invalid value default for these attributes is the GET state. The
missing value default for the method attribute is also the GET state."

And this was the case with HTML 4 as well. [2]

-Erik

[1] https://html.spec.whatwg.org/multipage/forms.html#attr-fs-method
[2] https://www.w3.org/TR/html401/interact/forms.html#h-17.3
Received on Wednesday, 30 November 2016 16:56:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 November 2016 16:56:27 UTC