diff options
author | Jeff Trawick <trawick@apache.org> | 2005-05-16 12:41:42 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2005-05-16 12:41:42 +0200 |
commit | 7ae218a5bf6ceb6047fd8afc2b2c0d5f39052b2b (patch) | |
tree | 023b3a734d6ae3e0d0d221d9a748cd375c0a56d9 /include | |
parent | Prevent hangs of child processes when writing to piped loggers at (diff) | |
download | apache2-7ae218a5bf6ceb6047fd8afc2b2c0d5f39052b2b.tar.xz apache2-7ae218a5bf6ceb6047fd8afc2b2c0d5f39052b2b.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/http_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |