Currently, the XHR specification doesn't include the possibility of multipart/form-data methods - which can be useful for POST requests. Typically, the body of a HTTP request contains the data fields - but a largish field value could be problematic. Maybe a few additional methods might be handy. Like a setBodyValue(name, value) method - or for file uploads, setBodyFile(name, contents, fileName). Once these becomes used for a particular request, then, the send() method call must be with a null argument. I'm not going to force this down anyone's throat, though. It's just a suggestion. -- "The first step in confirming there is a bug in someone else's work is confirming there are no bugs in your own." -- Alexander J. Vincent, June 30, 2001Received on Monday, 19 June 2006 18:56:32 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT