Re: [whatwg] why FormData dosen't support x-www-form-urlencoded ?

Anne

OK I understand what this means.
I'm looking forward to implement URLSearchParams in all browsers.

thanks !

Jxck

2014-12-09 17:05 GMT+09:00 Anne van Kesteren <annevk@annevk.nl>:

> On Tue, Dec 9, 2014 at 6:29 AM, Yusuke <block.rxckin.beats@gmail.com>
> wrote:
> > if form has value of type="file", I expect multipart.
> > and also if form have value of type="text" only, I expect urlencoded.
>
> That is not how <form> works. <form> defaults to urlencoded and you
> can opt into multipart through an attribute. FormData is just a
> representation for multipart. URLSearchParams is a representation for
> urlencoded.
>
> In due course it'll be easier to migrate from FormData to
> URLSearchParams and the other way around. I'm not sure much else is
> needed really.
>
>
> --
> https://annevankesteren.nl/
>

Received on Tuesday, 9 December 2014 14:28:39 UTC