]> granicus.if.org Git - apache/commitdiff
Do not set r->content_type directly, use our ap_set_content_type API, so that output...
authorPaul Querna <pquerna@apache.org>
Sat, 15 Oct 2005 18:48:03 +0000 (18:48 +0000)
committerPaul Querna <pquerna@apache.org>
Sat, 15 Oct 2005 18:48:03 +0000 (18:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321436 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 49da04e2135894298b1d3be933d9dab93a53d263..6ac7f6d40b70714fec16d15ce396fad99093e19e 100644 (file)
@@ -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;