Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8AE0DA25 for ; Wed, 26 Sep 2012 08:26:06 +0000 (UTC) Received: (qmail 88366 invoked by uid 500); 26 Sep 2012 08:25:59 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 87982 invoked by uid 500); 26 Sep 2012 08:25:54 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 87927 invoked by uid 99); 26 Sep 2012 08:25:52 -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 08:25:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Sep 2012 08:25:44 +0000 Received: (qmail invoked by alias); 26 Sep 2012 08:25:19 -0000 Received: from p5DD978DA.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.120.218] by mail.gmx.net (mp024) with SMTP; 26 Sep 2012 10:25:19 +0200 X-Authenticated: #1915285 X-Provags-ID: V01U2FsdGVkX1+JmnIS2ouJQmo/tIrwV1yP2wULIAKBA1HsDDn24O Kc61t0CGPIb5fF Message-ID: <5062BBEB.10004@gmx.de> Date: Wed, 26 Sep 2012 10:25:15 +0200 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: dev@httpd.apache.org CC: Timothy Wood Subject: Re: If-Match not supported with PROPFIND? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 2012-09-25 04:38, Timothy Wood wrote: > > My reading of the WebDAV spec leads me to believe that PROPFIND should support If-Match, but trying it and looking at the code for dav_method_propfind() I don't see a call to dav_validate_request(), dav_meets_conditions() or ap_meets_conditions(). > > Is my reading of the spec incorrect, or is this an oversight? I guess I'll work up a patch! > > Thanks! RFC 4918 defines it as a header field that applies to any method (same as all RFC 2616 conditional header fields). That being said, as ETags and timestamps do not necessarily change on WebDAV property changes, using it with PROPFIND may be tricky. And, as you have seen, support is likely to be spotty. Best regards, Julian