Request UNIQUE_ID

2005-02-16 Thread Thomas Lochmatter
In the apache1/mod_perl1 environment, there was an environment variable UNIQUE_ID available. This ID was unique for each request. In the apache2/modperl2 environment, this variable has disappeared. I have not found any method in the mod_perl2 API. What's the "official" way to get/create such a

Apache::Test for online debugging

2005-02-15 Thread Thomas Lochmatter
Under mod_perl 1, I used the following simple debugging framework: 1. apache calls DebugClient 2. DebugClient connects to DebugServer (Unix socket) 3. DebugServer calls the request handler with a fake Apache object (Apache::FakeRequest) and returns the response to the DebugClient If an error oc

Re: [bug] Apache::FakeRequest::content_languages

2004-09-02 Thread Thomas Lochmatter
che object replacement. -- Thomas Um Wed, 01 Sep 2004 13:45:27 -0400 schrieb Geoffrey Young <[EMAIL PROTECTED]>: > > > Thomas Lochmatter wrote: > > You're right: both methods (content_languages() and > > content_language()) work on the Apache object, although > >

Re: [bug] Apache::FakeRequest::content_languages

2004-09-01 Thread Thomas Lochmatter
patch would be to add content_languages() instead of replacing content_language(). -- Thomas Um Fri, 27 Aug 2004 19:25:41 -0700 schrieb Stas Bekman <[EMAIL PROTECTED]>: > Thomas Lochmatter wrote: > > (ModPerl 1.29, Apache.pm 1.27, FakeRequest.pm 1.00) > > > > In the Apac

[bug] Apache::FakeRequest::content_languages

2004-08-27 Thread Thomas Lochmatter
(ModPerl 1.29, Apache.pm 1.27, FakeRequest.pm 1.00) In the Apache::FakeRequest module, there is a method called "content_language". The Apache module however calls this method "content_languages". I guess this is a bug. It could be corrected by changing FakeRequest.pm, line 20: < content content