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

XMLHttpRequest state after a send()

From: Alexey Proskuryakov <ap-carbon@rambler.ru>
Date: Tue, 19 Sep 2006 18:01:41 +0400
To: <public-webapi@w3.org>
Message-ID: <C135E105.30657%ap-carbon@rambler.ru>

  I have tried searching the archives, but couldn't find this already

  The specification defines states 1 and 2 as:
1 Open. The open() method has been successfully called.
2 Sent. The UA successfully completed the request, but no data has yet been

  For async requests, send() MUST return immediately, i.e. even before
resolving the hostname. However, it is also specified that the state MUST be
set to Sent, which apparently violates its definition.

  In my tests, WinIE 6, Firefox 1.5 and Safari 2 all do not change
readyState in an async send(). This effectively means that state Open is
followed by an additional pseudo-state with the same numerical value (e.g.,
Safari currently ignores subsequent send() requests).

- WBR, Alexey Proskuryakov
Received on Tuesday, 19 September 2006 14:02:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC