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 41B6F91DD for ; Thu, 7 Mar 2013 00:23:39 +0000 (UTC) Received: (qmail 46444 invoked by uid 500); 7 Mar 2013 00:23:39 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 46394 invoked by uid 500); 7 Mar 2013 00:23:38 -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 46386 invoked by uid 99); 7 Mar 2013 00:23:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 00:23:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 00:23:33 +0000 Received: by mail-vc0-f170.google.com with SMTP id p16so5314490vcq.29 for ; Wed, 06 Mar 2013 16:23:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=/TkORYBzrHImz1ACPrSlEESps9h19DTooI42nXZEbhM=; b=TkK5L3/ySe7tIGo0MK+xL4Yh68Nx6K3F8wyUDnHhVbfx5TeYO+jufovUgVavmooKgL IYsAvVreaCT+bZFaibukjQKn5rZRhlyb0Lj7jAokY323jpzsE5oQhje1UIhDIyVw6/Dc Mzl3PTE2w8TZRe3AM/4pt2bVyugrPUy/PE5yW86VNrGJ9/iU50cbZWvDfb3Zt9Hwo0Tl 0rKBsuwTnAcavYb2dQswAMvnBLZLCaRwpwk3I8QCaOG2rfMnR/Pk33+2k5CXa+5Uv9jh 2hn5nOBfhf913YPFHuo4lQCQL0WK2zsy/qEgB+tTBBSz1mQXr5jTJO/TUJnmWCqOgbui M3ZQ== MIME-Version: 1.0 X-Received: by 10.220.208.137 with SMTP id gc9mr11937908vcb.51.1362615793066; Wed, 06 Mar 2013 16:23:13 -0800 (PST) Received: by 10.58.64.169 with HTTP; Wed, 6 Mar 2013 16:23:12 -0800 (PST) In-Reply-To: <1362612848.91215.YahooMailNeo@web160305.mail.bf1.yahoo.com> References: <1362441006.68134.YahooMailNeo@web160305.mail.bf1.yahoo.com> <1362451213.32498.YahooMailNeo@web160306.mail.bf1.yahoo.com> <1362453190.81878.YahooMailNeo@web160305.mail.bf1.yahoo.com> <1362601843.6153.YahooMailNeo@web160301.mail.bf1.yahoo.com> <5137A86E.3090803@cord.dk> <1362604885.95981.YahooMailNeo@web160303.mail.bf1.yahoo.com> <1362612848.91215.YahooMailNeo@web160305.mail.bf1.yahoo.com> Date: Wed, 6 Mar 2013 19:23:12 -0500 Message-ID: Subject: Re: some key fields of request_rec are null From: Eric Covener To: modules-dev@httpd.apache.org, Nce Rt Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Mar 6, 2013 at 6:34 PM, Nce Rt wrote: > It's request_rec which represents http Request not Response. look into this data structure for the content-type field. That's not how the field is used. If you want to read a Content-Type request header, read it from r->headers_in.