James M Snell wrote:
Tim Bray wrote:
[snip]
Sounds to me like the spec needs tightening up here. At the *very
least* we should write in Toru's finding: "You can't count on what, if
anything, comes back". Should we consider asserting that nothing comes
back from an entry-creation POST? -Tim
+1 on tightening the spec. However, I would suggest saying instead that
if anything does come back, it should be the atom entry as it would
appear in the collection's feed (e.g. a non-editable representation).
This is helpful in implementations (such as ours) in which server is
annotating the entry with various extensions or attributes that the
client doesn't provide; it is a useful optimization over having the
client issue another request to the URL in the response's Location
header to retrieved the annotated entry.
David