Re: a2c controller method names

2009-01-01 Thread Mark Hedges
On Thu, 1 Jan 2009, Mark Hedges wrote: > > Regarding your comment about inheritance vs. references - > something I hadn't thought much about. A) I need to prefix > all my internal method names with 'a2c_' to stay out of > the controller namespace. B) You can't have any controller > subroutines

Re: HTTP Response Headers fixup

2009-01-01 Thread André Warnier
Torsten Foertsch wrote: On Thu 01 Jan 2009, André Warnier wrote: Unfortunately the Content-Type header is a different beast. Inside Apache it is not only a response header, but a more complex data type. You can set a different Content-Type header with mod_headers, but since the internal structur

a2c controller method names

2009-01-01 Thread Mark Hedges
> > - a lot of times people use references to other > > structures when they should subclass... these references > > function only to re-map arguments to other modules, > > which is ridiculous. > > > Careful on the should.  It can seem extra and possibly > confusing but isn't always.  Delegation is

Re: HTTP Response Headers fixup

2009-01-01 Thread André Warnier
Torsten Foertsch wrote: [...] Try to create - a request output filter that I can do - that sets $r->content_type, that sounds easy - removes itself that, I'm not quite sure how to go about it - and returns DECLINED. that is also easy But thanks anyway. If that works, it would be a lot ea

Re: HTTP Response Headers fixup

2009-01-01 Thread Torsten Foertsch
On Thu 01 Jan 2009, André Warnier wrote: > Unfortunately the Content-Type header is a different beast. Inside > Apache it is not only a response header, but a more complex data > type. You can set a different Content-Type header with mod_headers, > but since the internal structure remains unchanged

Re: HTTP Response Headers fixup

2009-01-01 Thread André Warnier
As a complement to this thread, I would like to reproduce an answer received on the Tomcat list, from Rainer Jung, the developer/maintainer of the mod_jk module. It explains why I wasn't (and can't) get any success doing what I wanted with either mod_headers or a mod_perl connection output filte