Ok, right, I take a different one. Would you folks take note that WE might need a redirection scheme for IQ requests as we know it from HTTP, i.e. to be able to redirect the entire request. Since IQ-get is used much (and more and more) like HTTP GET this probably appropriate.
-- Dr. Klaus H. Wolf bluehands GmbH & Co.mmunication KG http://www.bluehands.de/people/hw +49 (0721) 16108 75 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Richard Dobson > Sent: Saturday, July 27, 2002 2:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [JDEV] 302 Redirect > > > Hi, > > My understanding is that a 302 redirect is supposed to be for telling the > client to re-connect to a specified server, for use in server farm or > similar. > > E.g. as a response to an authentication the server may send: > > <iq type="error" id="authtag" [EMAIL PROTECTED] from="server.com"> > <error code="302">jabber2.server.com:5269</error> > </iq> > > I dont think your use of 302 is correct, maybe your need a different error > code for your use. > > Richard > > ----- Original Message ----- > From: "Klaus H. Wolf" <[EMAIL PROTECTED]> > To: "Jdev@Jabber. Org" <[EMAIL PROTECTED]> > Sent: Friday, July 26, 2002 4:43 PM > Subject: [JDEV] 302 Redirect > > > > Hi, > > > > can the 302 Redirect code be used for iq error responses? > > If yes: The saying is that the redirect JID is sent as CDATA of > the error > > tag, right? > > I propose to put the entire should-be request into the CDATA. > This allows > to > > change more than just the destination, i.e. the namespace or more. > > > > Example : > > CLIENT: <iq id='5' type='get' to='user@server'><query > > xmlns='jabber:iq:xx'/></iq> > > SERVER: <iq id='5' type='error'> > > <error code='302'> > > <iq id='5' type='get' to='user@server'><query > > xmlns='storage:client:xx'/></iq> > > </error> > > </iq> > > > > It might be necessary to escape the embedded data. > > > > Opinions? > > > > -- > > Dr. Klaus H. Wolf > > bluehands GmbH & Co.mmunication KG > > http://www.bluehands.de/people/hw > > +49 (0721) 16108 75 > > > > > > _______________________________________________ > > jdev mailing list > > [EMAIL PROTECTED] > > http://mailman.jabber.org/listinfo/jdev > > > > > > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
