Boris Zentner wrote:
[...]
Nothing, I searched for the function, but I did not find it! I know I should use mp2doc, but as I searched for it, I did not think on the tool. I tryed first with perldoc Apache::RequestRec and then I searched

  http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html

For some reason I thought if there is no function content_length then I have no function like this.

http://perl.apache.org/docs/2.0/api/Apache/Response.html#C_set_content_leng
th_ Neither you need to rflush. Neither you should return DONE, but OK.


I tried it now and even with set_content_length and return OK I got no content-length header.

(sure, it was unrelated to the problem you were mentioned)

let me try to write a test and I'll be back to you.

Me thinking that we should drop the /^set_/ prefix in set_content_length, to be consistent with the rest of the API.

PS: Much thanks for the pointer to Apache::Response, I found more functions that I missed already!

All Apache::RequestRec classes now xref themselves from their Description sections, e.g.:
http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#Description


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to