httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject RFC: Before GA, add charset parameter to ap_custom_response()
Date Sat, 27 Aug 2005 13:30:24 GMT
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=iso-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. 
Better than an API bug.

Pass NULL for default charset processing, "" to omit charset from
response, or valid charset name otherwise.

View raw message