Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 51433 invoked by uid 500); 27 Feb 2002 13:59:51 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 51422 invoked from network); 27 Feb 2002 13:59:50 -0000 Message-ID: <20020227135950.65062.qmail@web14602.mail.yahoo.com> Date: Wed, 27 Feb 2002 05:59:50 -0800 (PST) From: James Burton Reply-To: strangegames@yahoo.com Subject: Serializers sending Headers? To: cocoon-dev@xml.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I'm coding a custom serializer now, and I am wondering if I am allowed to send an arbitrary HTTP header from the serializer code? In particular I'd like to send a "Location: xxxx" header, but I may want to send others. I think I can accomplish this with these lines: Response response = (Response) objectModel.get(Constants.RESPONSE_OBJECT); response.setHeader("Some-Header", "value"); But even if that works, is it "legal"? Thanks from Prague, James Burton __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org