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

2014-12-08 Thread Anne van Kesteren
On Sat, Dec 6, 2014 at 9:33 PM, block.rxckin.be...@gmail.com block.rxckin.be...@gmail.com wrote: but I wanna send string key/values in x-www-form-urlencoded format. Use URLSearchParams instead. FormData and ...-urlencoded are a bad match due to Blob. because it's more standard way for web.

Re: [whatwg] menuitem: Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson i...@hixie.ch wrote: On Wed, 26 Nov 2014, Simon Pieters wrote: - Make the end tag optional and have menuitem, menu and hr generate implied /menuitem end tags. (Maybe other tags like li and p can also imply /menuitem.) The label attribute be

Re: [whatwg] menuitem: Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters sim...@opera.com wrote: On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson i...@hixie.ch wrote: On Wed, 26 Nov 2014, Simon Pieters wrote: - Make the end tag optional and have menuitem, menu and hr generate implied /menuitem end tags. (Maybe

Re: [whatwg] menuitem: Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters sim...@opera.com wrote: SELECT COUNT(*) as num, CASE WHEN REGEXP_MATCH(LOWER(body), r'menuitem[^]*(\s*[^]+)+\s*/menuitem') THEN has content ELSE no content END as stat FROM [httparchive:runs.2014_08_15_requests_body] WHERE mimeType

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

2014-12-08 Thread block.rxckin.be...@gmail.com
in form submit ``` form id=myform method=post name=myform action=/server input type=number name=id value=123456 input type=text name=username value=jxck input type=submit /form ``` sends ``` username=jxckid=123456 ``` in xhr with form data from same form ``` script var myform =

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

2014-12-08 Thread Domenic Denicola
From: whatwg [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of block.rxckin.be...@gmail.com What is the motivation to not support except multipart format in FormData ? Anne already answered you, but I'll re-state his answer as a question: What do you expect the browser to do if your form

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

2014-12-08 Thread Garrett Smith
On 12/8/14, Domenic Denicola d...@domenic.me wrote: From: whatwg [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of block.rxckin.be...@gmail.com What is the motivation to not support except multipart format in FormData ? Anne already answered you, but I'll re-state his answer as a

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

2014-12-08 Thread Domenic Denicola
From: Garrett Smith [mailto:dhtmlkitc...@gmail.com] I would expect the filename to be sent as the value. Blobs don't have filenames.

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

2014-12-08 Thread Garrett Smith
On 12/8/14, Domenic Denicola d...@domenic.me wrote: From: Garrett Smith [mailto:dhtmlkitc...@gmail.com] I would expect the filename to be sent as the value. Blobs don't have filenames. You asked about a file input and you got an answer with a link to the pertinent spec. Now you are

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

2014-12-08 Thread Yusuke
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