Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 38621 invoked from network); 29 Oct 2010 14:15:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 14:15:23 -0000 Received: (qmail 42847 invoked by uid 500); 29 Oct 2010 14:15:23 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 42613 invoked by uid 500); 29 Oct 2010 14:15:22 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 42605 invoked by uid 99); 29 Oct 2010 14:15:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 14:15:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-ew0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 14:15:15 +0000 Received: by ewy3 with SMTP id 3so2069130ewy.18 for ; Fri, 29 Oct 2010 07:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=hnrY3/LUfLxeng99LFeNTRcNHFZYKA4S4GLSdp5+N98=; b=eSPCdPJKWOt2ubBjSfeJZlz3F28/3dpg0oTS+iGdzBaxAeNQWfQL2C3yUFu08tb7Ka 2zZAKK5U7pjaSLF7tWtDjmFBdYb4qggv/U6RqIjJLd7een8+j2vyDGXuXmt9Y7fqe946 Ul8nQlE/9zHEvSLXk5absGVfiOxX6Lk8zLrrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ThAXJ9dElC+fY619g/4TqkqjXIgmxyrR+TUvxajUsLG1Hk9OUDWYqEMTvQ3ZkUjkSf lGCw5d5GZKLdqgCul1zuoOQ8u6pDUY3JSlbu66x8zXVxroXPumj77+OMjwNXrdPwG7zJ kwJzKlNv7wBUK/nsIeOKSEjYd2Ng9abdFrG7k= MIME-Version: 1.0 Received: by 10.216.74.77 with SMTP id w55mr11994758wed.112.1288361694447; Fri, 29 Oct 2010 07:14:54 -0700 (PDT) Received: by 10.216.13.79 with HTTP; Fri, 29 Oct 2010 07:14:54 -0700 (PDT) Date: Fri, 29 Oct 2010 10:14:54 -0400 Message-ID: Subject: doc or fix ForceType for not-default-handler? From: Eric Covener To: dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Currently ForceType is only really effective for static files, since it works in a fixup hook and most other generators/handler will clobber the value in the actual handler by calling ap_set_content_type themselves. Should it be documented a bit more directly (a guru can read between the lines of the doc if you know what you're looking to justify), moved into calling ap_set_content_type in a filter, or some other directive be added to do this in a filter? (IIRC mod_headers can't do this for free since it's before the HTTP filter turns the r->content_type into a header) -- Eric Covener covener@gmail.com