From: Evan S. <ev...@ad...> - 2007-03-30 04:56:32
|
On Mar 30, 2007, at 12:39 AM, Evan Schoenberg wrote: > I get the same 0-byte response with: > <iq to='10.0.1.105' id='asdf' type='get'><query xmlns=’http:// > gaim.sf.net’/></iq> > and > <iq to='10.0.1.105' id='asdf' type='get'><query xmlns=’http:// > jabber.org/protocol/disco#info’/></iq> > > In both cases, iChat reports that the remote user (the one who sent > the XML) left, then reports that it left. > I take it back; sorry for the confusion. I'd been copying and pasting in my continued tests.. and at some point I pasted somewhere which made smart quotes, and that made iChat angry. Carefully typing from nothing, I can elicit: Sending <iq to='10.0.1.105' id='asdf' type='get'><query xmlns='http:// jabber.org/protocol/disco#info'/></iq> Received <iq id="asdf" type="error"><error type="501">Client has no handler for IQ type get namespace http://jabber.org/protocol/ disco#info</error></iq> which is exactly what we want and expect. So it looks like we can do capabilities discovery and then do the Right thing when playing with iChat and with other, more capable clients. -Evan |