W3C home > Mailing lists > Public > public-webapi@w3.org > March 2007

[XHR] Unespected case

From: Diego La Monica <d.lamonica@tosend.it>
Date: Thu, 1 Mar 2007 09:26:05 +0100
Message-ID: <e4cd4de70703010026w268de65cnac0726bde899326f@mail.gmail.com>
To: public-webapi@w3.org
Hi to all,
   in the paragraph 1.1 Example of Usage[1], preciselly in the example #2,
you made this call:

client.open("POST", "/ping");

I suppose that this call cannot works fine. Maybe that on the web server
root there is a page named simplly "ping", actually if you made the above
call the response is processed correctly [2] .
I think that, for a back-compatiblity, you need to provide a different mode
to make a ping call on the server.
Or I misunderstand the meaning of the example?

Best regards!

[1] http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070227/#examples
[2] http://www.dlamonica.netsons.org/test/ping.htm

-- 
Diego La Monica
Analista programmatore
Programmazione, Standards ed Accessibilità
Membro: IWA Italy
Via Napoli, 5 - Loc. la Scala
56028 San Miniato (PISA)

tel. (+39) 0571464992
cell. (+39) 3337235382
e-mail: d.lamonica@tosend.it
skype: diego.la.monica
ICQ #: 249-460-264
web: http://dlamonica.netsons.org
Received on Thursday, 1 March 2007 22:15:29 GMT

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