mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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
This commit is contained in:
@@ -103,7 +103,8 @@ static int util_ldap_handler(request_rec *r)
|
|||||||
return DECLINED;
|
return DECLINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
r->content_type = "text/html";
|
ap_set_content_type(r, "text/html");
|
||||||
|
|
||||||
if (r->header_only)
|
if (r->header_only)
|
||||||
return OK;
|
return OK;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user