[Osr-101] Locked resource exception
Andreas Wuest
andreas.wuest at wyona.com
Wed Aug 22 11:06:27 CEST 2007
Hi
On 22.8.2007 0:19 Uhr, Michael Wechner wrote:
> Hi
>
> I think we still haven't defined the "locked resource exception".
Indeed.
> I would like to suggest the following:
>
> Sever Response: 409 (Conflict) (or maybe some other 4xx status code)
409 is good.
> Response Body:
>
> <?xml version="1.0"?>
>
> <exception xmlns="http://www.wyona.org/neutron/1.0" type="locked-resource">
> <message>Resource is already checked out by another user: lenya!</message>
> <locked-resource>
> <!--
> - user info, e.g. how to contact this user
> - checkout time
> - URL to break the lock
> - ...
> -->
> </locked-resource>
> </exception>
>
>
> WDTY?
I like it. Please go ahead!
--
Kind regards,
Andi
More information about the Osr-101
mailing list