In such cases, the server should respond with a 202 Accepted rather than a 204 Created and the response should not contain a Location header. If the server responds indicating 204 Created, the entry should appear within the feed.
- James Michael Bernstein wrote: > On Tue, 2006-03-14 at 22:39 -0500, Joe Gregorio wrote: >> In the context of testing an APP server I think it is reasonable to assume >> that appclienttest.py is the *only* client accessing the server for the >> duration of the test. Given that assumption, are the following three tests >> reasonable? Are they the expected behaviour of an APP server implementation? >> If so, do we need more spec text to make that clear(er)? > > No, because a conformant APP implementation may not show the entry in > the feed for a *large* number of valid reasons. Example: > > - user may have POST privileges for the collection, but entry > must be approved before appearing in the feed (meanwhile, it > shows up in another 'pending' collection for review). > > I do think that these tests would be useful for many implementations > (and interoperbility scenarios), but that's not quite the same as > testing conformance to the spec. Perhaps this needs to be an optional > set of tests for a single-user weblog-like implementation? > > - Michael > >
