From 7ae218a5bf6ceb6047fd8afc2b2c0d5f39052b2b Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 16 May 2005 10:41:42 +0000 Subject: Support the suppress-error-charset setting, as with Apache 1.3.x. With Apache 1.3.x, it is a bit simpler as the request does not go through ap_make_content_type(). Modules can set custom error responses but not be able to set the charset, so they have to code the charset in the html. Thus, it is useful to preserve 1.3.x behavior exactly. PR: 26467 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170354 13f79535-47bb-0310-9956-ffa450edef68 --- include/http_core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/http_core.h b/include/http_core.h index f20e8a8076..175055d51c 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -332,6 +332,9 @@ typedef struct { char **response_code_strings; /* from ap_custom_response(), not from * ErrorDocument */ + /* Should addition of charset= be suppressed for this request? + */ + int suppress_charset; } core_request_config; /* Standard entries that are guaranteed to be accessible via -- cgit v1.2.3