Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 92159 invoked from network); 28 Sep 2004 19:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Sep 2004 19:40:08 -0000 Received: (qmail 59052 invoked by uid 500); 28 Sep 2004 19:39:42 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59016 invoked by uid 500); 28 Sep 2004 19:39:41 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58987 invoked by uid 99); 28 Sep 2004 19:39:41 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [66.46.24.147] (HELO shareowner.com) (66.46.24.147) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 28 Sep 2004 12:39:41 -0700 Received: from exchange.int.shareowner.com (gw.shareowner.com [66.46.24.163]) by shareowner.com (Postfix) with ESMTP id 521D42360C for ; Tue, 28 Sep 2004 15:39:42 -0400 (EDT) Received: by exchange.int.shareowner.com with Internet Mail Service (5.5.2656.59) id ; Tue, 28 Sep 2004 15:39:38 -0400 Message-ID: From: Phillip Qin To: 'Tomcat Users List' Subject: RE: Tomcat cgi NPH support Date: Tue, 28 Sep 2004 15:39:36 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4A592.E30AF190" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4A592.E30AF190 Content-Type: text/plain Yeah, it's header and in CGIServlet doc, Support for setting headers (for example, Location headers don't work) is on the TODO list. -----Original Message----- From: Mark Thomas [mailto:markt@apache.org] Sent: September 28, 2004 2:37 PM To: 'Tomcat Users List' Subject: RE: Tomcat cgi NPH support From: Phillip Qin [mailto:Phillip.Qin@shareowner.com] > I am curious why NPH support is so difficult to implement in > CgiServlet? Just because something isn't done, it doesn't necessarily mean it is difficult. A number of 'extra' servlets provided with Tomcat (CGI, webDAV, etc) are not 100% complete. It all comes down to who wants/needs to do the development for the bits that are missing. > Is is OK that I simply add a conditional check, i.e. if line contains > HTTP/1.1 302 then setStatus(302)? That sounds like parsing the header to me. Given "NPN"="Non-parsed headers" that doesn't feel right. I had always assumed that NPN support would involve passing the output from the script directly to the client but haven't really given it any great amount of thought. As ever, patches are always welome ;) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org !DSPAM:4159af8d171121566911362! ------_=_NextPart_001_01C4A592.E30AF190--