W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2001

RE: Postconditions with no XML elements defined?

From: Lisa Dusseault <lisa@xythos.com>
Date: Mon, 9 Jul 2001 13:09:46 -0700
To: "Peter Raymond" <Peter.Raymond@merant.com>, <ietf-dav-versioning@w3.org>
Postconditions with no XML elements defined?I had interpreted it as being
403 with precondition, 409 with postcondition, like you, but I agree it's
not directly stated.

Can the spec clarify please?

  -----Original Message-----
  From: ietf-dav-versioning-request@w3.org
[mailto:ietf-dav-versioning-request@w3.org]On Behalf Of Peter Raymond
  Sent: Monday, July 09, 2001 8:39 AM
  To: ietf-dav-versioning@w3.org
  Subject: Postconditions with no XML elements defined?


  In section 1.6 of the specification it states:

  In order to allow better client handling of 403 and 409 responses, a
distinct XML element
  type is associated with each method precondition and postcondition of a

  But several Postconditions in the specification do not have any XML
elements defined.

  Section 8.5, 8.6, 8.7, 8.8, and 9.6 for example.  Do we need to change 1.6
to say that some
  preconditions and postconditions have distinct XML elements?

  Also regarding the 403/409 responses it was not clear from the spec when
to send 403
  and when to send 409.  The text in section 1.6 reads:

  If a method precondition for a request is not satisfied, or if a method
postcondition for a
  request cannot be achieved, the response status of the request MUST be 403
  or 409 (Conflict).

  Does this mean a 403 should be sent for a failed precondition and a 409
should be sent
  for a postcondition failure.  Or does it mean the server implementer can
return either code
  in either situation.  This is not clear from reading the spec.

  Peter Raymond - MERANT
  Technical Architect (ADM)
  Tel: +44 (0)1727 813362
  Fax: +44 (0)1727 869804
  WWW: http://www.merant.com
Received on Monday, 9 July 2001 16:12:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:47 UTC