Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 12248 invoked from network); 7 Jan 2006 16:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jan 2006 16:50:57 -0000 Received: (qmail 35083 invoked by uid 500); 7 Jan 2006 16:50:51 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 35023 invoked by uid 500); 7 Jan 2006 16:50:50 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 35012 invoked by uid 99); 7 Jan 2006 16:50:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2006 08:50:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of costin@gmail.com designates 64.233.162.196 as permitted sender) Received: from [64.233.162.196] (HELO zproxy.gmail.com) (64.233.162.196) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2006 08:50:49 -0800 Received: by zproxy.gmail.com with SMTP id l1so3693038nzf for ; Sat, 07 Jan 2006 08:50:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iDBiVW8JCyvsW2imUwl+Ezmxh2yf94ewVJyK+W1oe8nOh7bowElcrZud+I04yofW4p3o86Wfs0VMFwjke5O+/wdwph6qZ9QrMc/OJ2xbcDkVpGOI/pd0oQ94Uw0TIfU80yGEPo/70PBg40hzy3QVgcT9HSl9gsLOaTEfhEJtfyg= Received: by 10.64.208.18 with SMTP id f18mr2169368qbg; Sat, 07 Jan 2006 08:50:29 -0800 (PST) Received: by 10.65.15.5 with HTTP; Sat, 7 Jan 2006 08:50:29 -0800 (PST) Message-ID: <96e4b5230601070850v5f0d585t139f40b0f75468d5@mail.gmail.com> Date: Sat, 7 Jan 2006 08:50:29 -0800 From: Costin Manolache Reply-To: costin@apache.org To: Tomcat Developers List Subject: Re: tomcat 5.8.0 - weird response on HTTP OPTIONS method In-Reply-To: <43BFA402.2050007@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43BE636F.7040807@jmatica.com> <96e4b5230601060950r3c93a395r4823c94412bef2c8@mail.gmail.com> <43BEBA0E.9030303@jmatica.com> <96e4b5230601061217n6f4c2a0ftf6366142be935c4a@mail.gmail.com> <43BED2BE.4010307@Apache.org> <96e4b5230601061257k55e3ddacw8555f8be8799e584@mail.gmail.com> <43BEE038.3080104@jmatica.com> <43BF9EFA.9010208@apache.org> <43BFA402.2050007@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DefaultServlet doesn't implement OPTIONS either, and I don't remember ever implementing or seeing an implementation of the method in anything except webdav servlet. Since it is part of the standard - and it seems it is even used - we should support it, but this has been broken forever. I'm curious if it could be implemented at container level, maybe detecting if a servlet doesn't implement it and returning a default implemenation ? Tomcat can detect what methods are implemented - unless the servlet overrides service(). Costin On 1/7/06, Mark Thomas wrote: > Mark Thomas wrote: > > Mauro Bertapelle wrote: > >>this has nothing to do with > >>webdav and the naive > >>way in which ie implements it, but probably Tomcat should handle > >>"options" better when > >>it's acting as a static web server. > >> > >>Mauro > > > > I have confirmed this behaviour with the latest source from SVN. It is > > a bug. I'll look into it. > > > > It is as a result Jasper. A request for: > OPTIONS http://localhost:8080/ HTTP/1.1 > > or > OPTIONS http://localhost:8080/index.jsp HTTP/1.1 > > eventually calls the _jspService method created by Jasper in > org.apache.jasper.compiler.Generate.generatePreamble() which assumes a > request method of GET. > > I have commitments which mean I will not be able to look at this for a > day or two at the earliest. If no one else fixes it between now and > early next week, I'll look at it then. > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org