- From: Jonas Sicking <jonas@sicking.cc>
- Date: Sat, 31 May 2008 02:31:27 -0700
- To: Julian Reschke <julian.reschke@gmx.de>
- Cc: Anne van Kesteren <annevk@opera.com>, Laurens Holst <lholst@students.cs.uu.nl>, public-webapi@w3.org
Julian Reschke wrote: > > Anne van Kesteren wrote: >> ... >>> We shouldn't let what webidl says dictate what we do one way or the >>> other. It's just a spec for the idl language, not a recommendation >>> for how interfaces should behave. >> >> null/undefined are not really part of the setRequestHeader() method. >> We just need to deal with them somehow and doing what similar APIs do >> in such cases makes sense. >> ... > > Such as xhr.send(null)? Yes, xhr.send(null) will send an empty body rather than one containing "null". / Jonas
Received on Saturday, 31 May 2008 09:32:55 UTC