Re: [whatwg] Form data append behavior on null type

Tingan Ho wrote:
> Wouldn't it be good to specify the behavior of type null in *append* method
> of Form data?
>
> Right now Safari sends string* "null".* Chrome sends empty string "". I
> think Chrome's implementation is more right, because in a html form you
> can't send null value, just empty strings
>
> http://www.w3.org/TR/XMLHttpRequest2/#the-append-method

The specification, through the use of Web IDL, requires that "null" be 
sent.  Unless there is a clear majority of implementations that send "", 
I don't think we should change from the default stringification behaviour.

Received on Tuesday, 31 December 2013 05:18:56 UTC