Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1480D35A for ; Wed, 26 Sep 2012 20:54:22 +0000 (UTC) Received: (qmail 21837 invoked by uid 500); 26 Sep 2012 20:54:19 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 21815 invoked by uid 500); 26 Sep 2012 20:54:19 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 21800 invoked by uid 99); 26 Sep 2012 20:54:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 20:54:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Bennett.Tony@con-way.com designates 63.230.177.41 as permitted sender) Received: from [63.230.177.41] (HELO idcxpr0407.con-way.com) (63.230.177.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 20:54:14 +0000 Received: from idcxpr0407.con-way.com (localhost [127.0.0.1]) by idcxpr0407.con-way.com (Postfix) with ESMTP id BA3E1682AD for ; Wed, 26 Sep 2012 13:53:53 -0700 (PDT) Received: from DCXPRCL013.cnf.prod.cnf.com (dcxprcl013.cnf.prod.cnf.com [10.1.23.213]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by idcxpr0407.con-way.com (Postfix) with ESMTPS id AC6A668710 for ; Wed, 26 Sep 2012 13:53:53 -0700 (PDT) Received: from DCXPRCL017.cnf.prod.cnf.com ([10.1.23.217]) by DCXPRCL013.cnf.prod.cnf.com ([10.1.23.213]) with mapi; Wed, 26 Sep 2012 13:53:53 -0700 From: "Bennett, Tony" To: "'users@httpd.apache.org'" Date: Wed, 26 Sep 2012 13:53:52 -0700 Thread-Topic: Why does a DELETE transaction check for locks on Parent Collection Thread-Index: Ac2cKQmQ07u11sIZTqaU97eFHkmkbw== Message-ID: <9E085D377965634187A85638358AE61101C93C044B@DCXPRCL017.cnf.prod.cnf.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Why does a DELETE transaction check for locks on Parent Collection Environment:=09 Version: 2.2.16 Platform OS: AIX 6.1 Configuration: WebDav enabled Client: Windows 7 "Mapped Network Drive" Here is the interaction: Client sends a PUT Server responds with a 200 Client sends a LOCK request Server responds with a 200 and this header is in the response: Lock-Token: Client sends a DELETE and includes this header in the request: If: () Server responds with a 424 Failed Dependency and includes this text in its= response body: /TEST_DIR HTTP/1.1 412 Precondition Failed A validation error has occurred on the parent= resource,=20 preventing the operation on the resource specified by the Request-UR= I. The error was:=20 The precondition(s) specified by the "If:" header did not match this= resource. At=20 least one failure is because: a State-token was supplied, but it was= not found in the=20 locks on this resource. Here is a subset of the Apache Error Log: Could not DELETE /TEST_DIR/~$EXCEL_File.xlsx due to a failed precondi= tion (e.g. locks). [424, #0] (11)Resource temporarily unavailable: An error occurred on another res= ource, preventing the requested operation on this resource. [424, #0] I tried locking/deleting with cadaver, which worked.... it had a slightly d= ifferent "If" header: If: () My question is why did Apache check for the "opaquetoken" against the paren= t collection when the request came from Win7...??? I can't find a requirement to do so in the standard (RFC2518 or RFC4918). NOTE: I tried locking/deleting with cadaver, which worked.... it had a sli= ghtly different "If" header: If: () Any insight would be helpful. -tony --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org