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 067949696 for ; Fri, 16 Mar 2012 06:31:49 +0000 (UTC) Received: (qmail 45399 invoked by uid 500); 16 Mar 2012 06:31:48 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 45101 invoked by uid 500); 16 Mar 2012 06:31:43 -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 45073 invoked by uid 99); 16 Mar 2012 06:31:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 06:31:42 +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; Fri, 16 Mar 2012 06:31:35 +0000 Received: by bkcjg9 with SMTP id jg9so3560269bkc.18 for ; Thu, 15 Mar 2012 23:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MzIBuAMfV+eD2ZZkX1bYTZRp8d/4WW6FBa4Ml+MCZeo=; b=Qkqrzgt0efdxDJjewZgcH7IQePFE93sEm1CnFFGFVlU7OzqjGykkj4jFvq8bR65zNK VAmaFPzk9dVHCEYNTgaHh9JnxYO76sb9bpt8+MNG6YUojpT53Jt75fKYKIauTdURnKkj E5CTz6u6CWMWd+BQm6mZJT3H2mQqpL9PaANo2fHrActsQiJlkHrupHH+GXPYNB8g8UMl Ew6OBCkxy4Rt5pJuQgRZxERKXpHpgg/xQUM0lX0BvgGwihTFoEKofpbl0t+6Ypl7EL93 T988NNZjUsRtRh4qJupd1Qts3JESARUmkGE4QhiBIM6khIkov1zdI1hFjQ77zpkSTsdM ihKw== MIME-Version: 1.0 Received: by 10.204.151.217 with SMTP id d25mr500180bkw.89.1331879475156; Thu, 15 Mar 2012 23:31:15 -0700 (PDT) Received: by 10.204.100.198 with HTTP; Thu, 15 Mar 2012 23:31:15 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Mar 2012 14:31:15 +0800 Message-ID: Subject: Re: one question about HTTP response header "Content-Length" From: Rui Hu To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=0015175def9a00177d04bb565bec X-Virus-Checked: Checked by ClamAV on apache.org --0015175def9a00177d04bb565bec Content-Type: text/plain; charset=ISO-8859-1 I have another question. I found that not every request's response header has field of "Content-Length", is it normal? Additionally, can I modify HTTP response header in output filter of AP_FTYPE_PROTOCOL type? Many thanks! Vic 2012/3/16 Joe Lewis > Fix UPS runs before other hooks. Output filters run after content > generation. If you can be the last output filter, you should have that > value in the headers out table. > > Joe > -- > Http://www.silverhawk.net/ > On Mar 15, 2012 9:22 PM, "Rui Hu" wrote: > > > hi, > > > > I have a private module which want to get the ultimate value of > > "Content-Length" , and I hook this module in fixups. However, result > shows > > that "Content-Length" is NULL when I get it. > > > > Which process should I hook if I want to get Content-Length's ultimate > > value? Any suggestion? > > > > Many thanks! > > > > Vic > > > > -- > > Best regards, > > > > Rui Hu > > > > > ---------------------------------------------------------------------------------------- > > State Key Laboratory of Networking & Switching Technology > > Beijing University of Posts and Telecommunications(BUPT) > > MSN: tchrbupt@gmail.com > > > > > ----------------------------------------------------------------------------------------- > > > -- Best regards, Rui Hu ---------------------------------------------------------------------------------------- State Key Laboratory of Networking & Switching Technology Beijing University of Posts and Telecommunications(BUPT) MSN: tchrbupt@gmail.com ----------------------------------------------------------------------------------------- --0015175def9a00177d04bb565bec--