- From: <piranna@gmail.com>
- Date: Wed, 4 Jun 2014 14:45:55 +0200
- To: "public-webapps@w3.org" <public-webapps@w3.org>
- Cc: Luis López Fernández <lulop@kurento.com>
According to the spec, the send() method of XmlHttpRequest objects enable an internal 'send()' flag showing that the request has been done, and not allowing to do several requests on the same XHR object, although the current API with an open() method leads to think that's possible. Due to this, I propose to allow to do several send() calls on an open XHR object. I know that the mayority of use cases are a simple one-shoot calls so this request would be useless, but there are use cases like JsonRPC-over-HTTP where it makes sense, so I think it would be a good requeriment (and the most intuitive) that you could be able to do several send() calls if it's defined a Connection Keep-Alive header. -- "Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton de sitios diferentes, simplemente escribe un sistema operativo Unix." – Linus Tordvals, creador del sistema operativo Linux
Received on Wednesday, 4 June 2014 12:46:43 UTC