W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: Multiple send() calls in XmlHttpRequest

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 4 Jun 2014 14:52:04 +0200
Message-ID: <CADnb78hVrs=Yve29TAdvLgErVNp3dMVFm+rLEm0jRyvT2AP8wA@mail.gmail.com>
To: "piranna@gmail.com" <piranna@gmail.com>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>, Luis López Fernández <lulop@kurento.com>
On Wed, Jun 4, 2014 at 2:45 PM, piranna@gmail.com <piranna@gmail.com> wrote:
> 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.

The send() flag is only set as long as the fetch is ongoing. Once the
fetch has finished, it is no longer set. So this is already possible.

Received on Wednesday, 4 June 2014 12:52:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC