You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2005/08/27 15:30:24 UTC

RFC: Before GA, add charset parameter to ap_custom_response()

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.