ask 00/11/07 15:09:27
Modified: . Changes
Apache Apache.pm
Log:
Improved Apache->send_http_header documentation
[Ken Williams <[EMAIL PROTECTED]>]
Revision Changes Path
1.548 +3 -0 modperl/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl/Changes,v
retrieving revision 1.547
retrieving revision 1.548
diff -u -r1.547 -r1.548
--- Changes 2000/10/13 17:21:11 1.547
+++ Changes 2000/11/07 23:09:19 1.548
@@ -13,6 +13,9 @@
new Apache::test::static_modules() method
[Ken Williams <[EMAIL PROTECTED]>]
+Improved Apache->send_http_header documentation
+[Ken Williams <[EMAIL PROTECTED]>]
+
=item 1.24_01 - October 10, 2000
fix bug in $r->args that treats ?0 as the empty string instead of zero,
1.58 +3 -1 modperl/Apache/Apache.pm
Index: Apache.pm
===================================================================
RCS file: /home/cvs/modperl/Apache/Apache.pm,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- Apache.pm 2000/10/10 16:33:56 1.57
+++ Apache.pm 2000/11/07 23:09:25 1.58
@@ -757,9 +757,11 @@
=over 4
-=item $r->send_http_header
+=item $r->send_http_header( [$content_type] )
Send the response line and all headers to the client.
+Takes an optional parameter indicating the content-type of the
+response, i.e. 'text/html'.
This method will create headers from the $r->content_xxx() and
$r->no_cache() attributes (described below) and then append the