On 8/1/07, John D. Mitchell <[EMAIL PROTECTED]> wrote: > On 7/26/07, Geoffrey Wiseman <[EMAIL PROTECTED]> wrote: [...] > > Actually, I'd be happy with this if Resource.handleGet() treated a null from > > getRepresentation as a 404, but that might not work for all cases? > > Yes, I've been bitten by forgetting to set the status in the case of > returning null from getRepresentation(). > > I'd suggest updating the JavaDocs to make this clear (either way) and > to update example Part's 12 to show this clearly (either way) (e.g.,
Also, there's the question whether this should result in a 404 or a 406 error. Opinions? Thanks, John