Hi Julian, --On November 15, 2011 5:02:04 PM +0100 Julian Reschke <julian.reschke@gmx.de> wrote: >> I'd be nice if the spec authors could explicitly state an http error >> code for every error condition. I don't think leaving it open to >> interpretation (or unclear.. have your pick) is a good thing. ... > > That can be dangerous, as it could trick developers to think that these > are the only codes that need to be handled... So the spec would need to > make clear that these are just examples/suggestions... Which is exactly what the WebDAV base spec describes for pre-/post-conditions, hence the fact that no other WebDAV extension documents explicitly list a status code. Plus the distinction between some codes is not always clear - we could argue for a long time over whether 403 or 409 should be returned for an invalid sync token. -- Cyrus DabooReceived on Tuesday, 15 November 2011 16:24:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 November 2011 16:24:37 GMT