Re: PROPPATCH Error minimization

Say we invoke PROPATCH so that it sets property1 and property2 on resourceX.

if both of these return an error, I believe we are allowed to return...

...
<HREF>resourceX</HREF>
<PROPSTAT>
   <PROP>
      <property1/><property2/>
   </PROP>
   <STATUS>HTTP/1.1 409 Conflict</STATUS>
</PROPSTAT>
...

but are we allowed to skip the PROP tag if all of the element have the same
result?...

...
<HREF>resourceX</HREF>
<PROPSTAT>
   <STATUS>HTTP/1.1 409 Conflict</STATUS>
</PROPSTAT>
...

And are we allowed to skip the PROPSTAT altogether and just return a status for
the URI?...

...
<HREF>resourceX</HREF>
<STATUS>HTTP/1.1 409 Conflict</STATUS>
...


Or even return it in the response header?



Does this change if the response code is "200 OK" rather than 4XX?


If the spec doesn't already do so, it should provide a guideline here so that
clients know all the possibilities to expect and can code for them.


J.

------------------------------------------
Phone: 914-784-7569,   ccjason@us.ibm.com

Received on Thursday, 7 October 1999 17:39:57 UTC