Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 11046 invoked by uid 6000); 5 Jul 1999 13:23:17 -0000 Received: (qmail 11026 invoked from network); 5 Jul 1999 13:23:13 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) (root@204.146.167.214) by taz.hyperreal.org with SMTP; 5 Jul 1999 13:23:13 -0000 Received: from Golux.Com (ss06.nc.us.ibm.com [32.97.136.236]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id JAA19944; Mon, 5 Jul 1999 09:26:47 -0400 Message-ID: <3780B1E0.7A073A78@Golux.Com> Date: Mon, 05 Jul 1999 09:23:44 -0400 From: Rodent of Unusual Size Organization: The Apache Group X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: A tech question about the OPTIONS method. References: <19990705131958.A8963@tagore.wipinfo.soft.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O Jayaram A wrote: > > 1. If I have a document where > directory is enabled for PUT method, does the above > statement from HTTP/1.1 spec imply that the request > "OPTIONS HTTP/1.1" > should be responded with the "PUT" method as well in the "Allow:" > header from the server? Yes, unless the specific document has had that method disabled somehow. > 2. Secondly, if a server supports methods other than GET, HEAD, OPTIONS > and TRACE, (say PUT) should the request > "OPTIONS * HTTP/1.1" > be responded with PUT method as well in the "Allow:" header from the > server? Yes. > I understood that Apache Server does neither of the above. > As I understood from the code that the response form Apache is always > "Allow: GET, HEAD, OPTIONS, TRACE" irrespective of other methods > supported, I just wanted to confirm my understanding about it. No, Apache doesn't always respond with that set. It is deficient in dealing with OPTIONS responses when it comes to new methods (such as the WebDAV ones) and dynamic resources (such as CGI scripts), but it's *mostly* correct. -- #ken P-)} Ken Coar Apache Software Foundation "Apache Server for Dummies"