Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC5D39AB0 for ; Wed, 29 Feb 2012 06:53:25 +0000 (UTC) Received: (qmail 84119 invoked by uid 500); 29 Feb 2012 06:53:24 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 83811 invoked by uid 500); 29 Feb 2012 06:53:19 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 83718 invoked by uid 99); 29 Feb 2012 06:53:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 06:53:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tchrbupt@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bk0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 06:53:07 +0000 Received: by bkcjg9 with SMTP id jg9so3402651bkc.18 for ; Tue, 28 Feb 2012 22:52:47 -0800 (PST) Received-SPF: pass (google.com: domain of tchrbupt@gmail.com designates 10.204.15.205 as permitted sender) client-ip=10.204.15.205; Authentication-Results: mr.google.com; spf=pass (google.com: domain of tchrbupt@gmail.com designates 10.204.15.205 as permitted sender) smtp.mail=tchrbupt@gmail.com; dkim=pass header.i=tchrbupt@gmail.com Received: from mr.google.com ([10.204.15.205]) by 10.204.15.205 with SMTP id l13mr4065090bka.99.1330498367387 (num_hops = 1); Tue, 28 Feb 2012 22:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VCJjGctc4tba2gWIXgtxREm96QCnSU6BAQO3miXudvc=; b=JHCwR6E/N9Rlai74d4myYvi2ZrFwQhdKXQqv9n3ipn9tfHSQVyM7aL2zR65hvld5Iw Jy2f0neq8zM9+llzTXcgB5ScIPLV0rzQAjH5UaZOFezBwwce5NDhvB29WxOC27KkAyIE 3Mo4mjUDRjZ4z+nS09qB/ntvYs7owtNjSxeCQ= MIME-Version: 1.0 Received: by 10.204.15.205 with SMTP id l13mr3343353bka.99.1330498367289; Tue, 28 Feb 2012 22:52:47 -0800 (PST) Received: by 10.204.120.208 with HTTP; Tue, 28 Feb 2012 22:52:47 -0800 (PST) In-Reply-To: References: Date: Wed, 29 Feb 2012 14:52:47 +0800 Message-ID: Subject: about setting r->headers_out From: Rui Hu To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=00151750e36c8e794f04ba14ca9c X-Virus-Checked: Checked by ClamAV on apache.org --00151750e36c8e794f04ba14ca9c Content-Type: text/plain; charset=ISO-8859-1 hi, I want to set "Content-Type" and "Cache-Control" fields in my private module. So I hooked fixups and used apr_table_setn to set r->headers_out but nothing happened. Was it thought through? Thanks for you help! Best regards, Rui Hu ---------------------------------------------------------------------------------------- State Key Laboratory of Networking & Switching Technology Beijing University of Posts and Telecommunications(BUPT) MSN: tchrbupt@gmail.com ----------------------------------------------------------------------------------------- --00151750e36c8e794f04ba14ca9c--