You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/05/20 01:01:12 UTC
cvs commit: modperl-2.0/xs/Apache/Response Apache__Response.h
dougm 02/05/19 16:01:12
Modified: xs/Apache/Response Apache__Response.h
Log:
use ap_set_content_type rather than directly setting r->content_type
in $r->send_http_header
Revision Changes Path
1.7 +1 -1 modperl-2.0/xs/Apache/Response/Apache__Response.h
Index: Apache__Response.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/Apache/Response/Apache__Response.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Apache__Response.h 21 Jan 2002 08:27:30 -0000 1.6
+++ Apache__Response.h 19 May 2002 23:01:12 -0000 1.7
@@ -20,7 +20,7 @@
MP_dRCFG;
if (type) {
- r->content_type = apr_pstrdup(r->pool, type);
+ ap_set_content_type(r, apr_pstrdup(r->pool, type));
}
rcfg->wbucket->header_parse = 0; /* turn off PerlOptions +ParseHeaders */