Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 5279 invoked from network); 27 Aug 2005 13:30:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Aug 2005 13:30:33 -0000 Received: (qmail 64006 invoked by uid 500); 27 Aug 2005 13:30:30 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63945 invoked by uid 500); 27 Aug 2005 13:30:30 -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 63930 invoked by uid 99); 27 Aug 2005 13:30:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2005 06:30:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of trawick@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO zproxy.gmail.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2005 06:30:46 -0700 Received: by zproxy.gmail.com with SMTP id 13so445797nzn for ; Sat, 27 Aug 2005 06:30:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jhHEd4c58dTDL0mosnawEhP777h6je+01ZwUwI4tbuvVJExo12iwqXHvNRPmlx8rvvb3ZXKncaVyvUYqw6ypQ0sjJLnzT4UDJU5RzAtE5UAn0Ue4BBQf2sPe0lX7Vll/hYDrqKL9B/6sx7kKBp5xSX6OoTMlSjKSa7RrnmfsxN4= Received: by 10.37.15.28 with SMTP id s28mr248930nzi; Sat, 27 Aug 2005 06:30:24 -0700 (PDT) Received: by 10.36.68.4 with HTTP; Sat, 27 Aug 2005 06:30:24 -0700 (PDT) Message-ID: Date: Sat, 27 Aug 2005 09:30:24 -0400 From: Jeff Trawick To: dev@httpd.apache.org Subject: RFC: Before GA, add charset parameter to ap_custom_response() Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Right now, run mod_FOO in Japan and for some requests it passes Japanese text to ap_custom_response(). Unless Apache admin configures the suppress-error-charset variable, Apache will add "charset=3Diso-8859-1" to the response. There are other purposes for suppress-error-charset, but for this particular one it would be better to let the module specify the charset of the text they are returning. I'd be happy with a simple change where the new parameter be ignored and let it be a implementation bug until somebody gets a round tuit.=20 Better than an API bug. Pass NULL for default charset processing, "" to omit charset from response, or valid charset name otherwise.