W3C home > Mailing lists > Public > public-webapi@w3.org > October 2006

Re: Multiple Open of the XMLHttpRequest object

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 28 Oct 2006 18:35:30 +0200
To: Denis Sureau <dgsureau@yahoo.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-id: <op.th44dgwg64w2qv@id-c0020.oslo.opera.com>

On Sat, 28 Oct 2006 14:43:07 +0200, Denis Sureau <dgsureau@yahoo.com>  
wrote:
> Thanks, if I have understood, "multiple requests with a same object" is
> not possible due to the browser, and this doesn't need to be in the
> specification?

It's not possible per the specification.


> If we want chain open calls, or just iteratively alternate GET and POST,
> do we have to add something to the specification?

I've no idea what you mean by this.


> This was the issue
> that was opened in the last working draft,

I explained the issue quite clearly in a previous e-mail.


> I believe:
>
> while( ...)
>
>    open("POST" ...
>    send(data)       // some data from forms
>    ...
>    open("GET"...
>    send(null)     // get the answer from the server, and loop

This might be issue I described, althoug the comments seem to indicate  
otherwise and the "..." make it unclear as well...


> If we can just perform a GET or a POST the object is rather limited.

What are you talking about? Have you actually played with this in browsers?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 28 October 2006 16:35:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT