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

Domenic

> Anne already answered you, but I'll re-state his answer as a question:

I don't think so.
I'm agree with urlencode dosen't fit with Blob. but completely fit with text.
my question is not 
"why don't use urlencode for Blob" 
but 
"why don't use urlencode for text only form"

> What do you expect the browser to do if your form contains an <input type="file">?

if form has value of type="file", I expect multipart.
and also if form have value of type="text" only, I expect urlencoded.

my opinion is we are familiar with urlencoded body from form with post.

so I think it's seems so natural that FormData supports that format.

but I found FormData dosen't supports that. so I wanna ask about reason of that.

thanks all
Jxck

Received on Tuesday, 9 December 2014 05:30:21 UTC