[Osr-101] Locked resource exception

Michael Wechner michael.wechner at wyona.com
Wed Aug 22 00:19:03 CEST 2007


Hi

I think we still haven't defined the "locked resource exception".

I would like to suggest the following:

Sever Response: 409 (Conflict) (or maybe some other 4xx status code)

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?

Cheers

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Osr-101 mailing list