From 00feac4b964bd7f9f3dd2f0fef98873df06cf868 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Sat, 15 Oct 2005 18:48:03 +0000 Subject: [PATCH] Do not set r->content_type directly, use our ap_set_content_type API, so that output filters can properly be applied. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321436 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 49da04e213..6ac7f6d40b 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -103,7 +103,8 @@ static int util_ldap_handler(request_rec *r) return DECLINED; } - r->content_type = "text/html"; + ap_set_content_type(r, "text/html"); + if (r->header_only) return OK; -- 2.40.0