-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8/21/09 11:52 AM, Robin Collier wrote: > > >> Date: Fri, 21 Aug 2009 00:20:37 +0200 >> From: [email protected] >> To: [email protected]; [email protected] >> Subject: Re: [PubSub] missing items >> >> On Thu, Aug 20, 2009 at 11:36 PM, Nathan Fritz<[email protected]> > wrote: >> > >> > Fabio, >> > >> > I would suggest that an <item-not-found /> error is appropriate. > That seems >> > a logical response, would be logical in the code, and would be > logical to >> > handle based on similar requests. PSA could add that to the list of >> > possible reasons for error in that section. >> >> Thanks for the answer. But what happens when requesting multiple >> items, if just some are missing? I wouldn't like to answer with an >> error stanza, forcing the client to repeat the request with just the >> available ids >> > > I think the behaviour should be to return the items which are there > with no error. This would be consistent with asking for last N items > and they don't exist as this does not produce an error code either.
Agreed. I've added a note about this to the spec. Peter - -- Peter Saint-Andre https://stpeter.im/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqxZQ4ACgkQNL8k5A2w/vzc8wCgmmqkapn7Go2wHCKmezzufjfq 5n0An23+EPstw0fbz759N6nLM5RVXI/H =89+c -----END PGP SIGNATURE-----
