[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP Status for invalid Atom entry?




Jan Algermissen wrote:

Hi,

what HTTP status code do existing APP implementations return for invalid Atom-XML (e.g. missing content element)?

I would use 422 from WebDAV - but is there different common practice?

There might be, but I think 422 is best current practice for invalid submissions, and not just for atompub stacks - rails uses it to signal errors.

Bill