Return-Path: Delivered-To: apmail-perl-asp-archive@www.apache.org Received: (qmail 63049 invoked from network); 17 Dec 2003 07:15:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Dec 2003 07:15:48 -0000 Received: (qmail 81157 invoked by uid 500); 17 Dec 2003 07:15:25 -0000 Delivered-To: apmail-perl-asp-archive@perl.apache.org Received: (qmail 81071 invoked by uid 500); 17 Dec 2003 07:15:24 -0000 Mailing-List: contact asp-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list asp@perl.apache.org Received: (qmail 81057 invoked from network); 17 Dec 2003 07:15:24 -0000 Received: from unknown (HELO cumulus.air-internet.com) (12.110.32.7) by daedalus.apache.org with SMTP; 17 Dec 2003 07:15:24 -0000 Received: (qmail 2590 invoked from network); 17 Dec 2003 07:15:36 -0000 Received: from airnode008.air-internet.com (HELO ?192.168.1.69?) (12.28.133.8) by cumulus.air-internet.com with SMTP; 17 Dec 2003 07:15:35 -0000 Date: Tue, 16 Dec 2003 23:26:42 -0800 (PST) From: Skylos the Doggie X-X-Sender: skylos@home.dogpawz.com To: Josh Chamas cc: asp@perl.apache.org, peter.galbavy@photasmagoria.com Subject: Re: Custom status and message: Bug? In-Reply-To: <3FDFCB20.8050009@chamas.com> Message-ID: References: <3FB0995D.1020800@chamas.com> <3FDFCB20.8050009@chamas.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.5 required=6.3 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_PINE version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 16 Dec 2003, Josh Chamas wrote: > Josh Chamas wrote: > > skylos@doglover.com wrote: > > > >> > >> The Status property of the Response object per the ASP implimentation > >> on windows IIS takes the whole string '213 Woof woof'. And outputs > >> it just like the Status: header in cgi spec. This is the expected, > >> documented behavior of the status property on the Response object, to > >> my understanding. > >> > > > > Currently, Apache::ASP uses mod_perl $r->status to set the > > $Response->{Status}, which can only take an integer. It may be better > > to instead call $r->status_line(), which seems to give you the > > flexibility that you need. > > > > I can try the change, and send you an early release of the next > > Apache::ASP version with this change. Let me know. > > > > My apologies for taking so long to follow up with this fix. I was beginning to wonder what was up with that. > I have on a couple occasions tried to implement this change to produce > the results you are going for, but without success. I will keep trying > to get Apache / mod_perl to do the right thing. Curious. > The place that I am hung up on is actually having the initial status > line return the right response where it normally says: > > HTTP/1.1 200 OK > > it should be possible to make it say "HTTP/1.1 200 Woof Woof" or whatever, > but these does not yet seem to work for me despite my best efforts. > However, it may still be possible to set a separate Status header: Curious indeed. > HTTP/1.1 200 OK > Status: 200 Woof Woof > > that may also be of use to you, but it would seem an incomplete fix to me. Yes. Incomplete, and though usable if client programs are modified, not as desired. > Any thoughts? I well realize that you are more familiar with this Apache:: code than I am - but I'm not an unskilled perl programmer if I say so myself. Would you like to bounce some ideas and thoughts back and forth, show me patches of what you've tried, I can take a peek and see if anything jumps out at me? I know that sort of thing really helps me find some problems that elude me in the most mysterious way. Sometimes its the most subtle things, as I'm sure you know! At your service, Skylos - skylos@doglover.com - The best part about the internet is nobody knows you're a dog. (Peter Stiener, The New Yorker, July 5, 1993) - Dogs like... TRUCKS! (Nissan commercial, 1996) - PGP key: http://dogpawz.com/skylos/mykey.asc --------------------------------------------------------------------- To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org For additional commands, e-mail: asp-help@perl.apache.org