You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ken Williams <ke...@forum.swarthmore.edu> on 2000/11/06 17:43:14 UTC

Documentation patch for send_http_header()

A patch to Apache.pm docs, to match what is actually going on already:

===================================================================
RCS file: /home/cvspublic/modperl/Apache/Apache.pm,v
retrieving revision 1.57
diff -u -r1.57 Apache.pm
--- Apache/Apache.pm    2000/10/10 16:33:56     1.57
+++ Apache/Apache.pm    2000/11/06 16:25: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
===================================================================



  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

Re: Documentation patch for send_http_header()

Posted by Ask Bjoern Hansen <as...@develooper.com>.
On Mon, 6 Nov 2000, Ken Williams wrote:

> A patch to Apache.pm docs, to match what is actually going on already:

committed. thanks. :)

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>