-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please keep it on the list ;-)
I'll quote all your message (for conformity)

Jason Thaxter wrote:
> what you propose sounds like a sensible simplification, though
> DIR_MAGIC_TYPE isn't a recognized constant here... i don't know these
> internals well enough to know why,  but Dave Rolsky's suggestion does fix
> the problem...
> 
> I assume it's something where the callee is being picky about the
> definedness of it's input vs truth value, sort of the reverse of how this
> used to work in %flags:
>     inherit => ''
> 
> where now you want:
> 
>    inherit => undef

I revealed some mod_perl "internals" in my previous message, but I
suppose I failed doing it well enough. "DIR_MAGIC_TYPE" is a mod_perl
constant which may be found as:
  v 1.x: Apache::Constants::DIR_MAGIC_TYPE
  v 2.x: Apache2::Const::DIR_MAGIC_TYPE

For an overview, there's always our precious MasonHQ wiki:
  http://www.masonhq.com/?HandlingDirectoriesWithDhandlers

Jason, the main point in my previous message was that overriding
Apache's "magical" determination of content_type is useless (at least at
that stage - "_request_fs_type").

PS: As until now nobody have had any problems with this behavior, I
considered it a minor issue (from HM's point of view), so I used to just
locally override HTML::Mason::ApacheHandler::_request_fs_type. If
there's any interest, I could supply a HM patch to completely drop that
method (* the way/reason described in my previous message).

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFD7fwBtZHp/AYZiNkRAqL/AKDYCFpTM0lUrSAFQzirLGZ1DetSeACgvOCe
JLVRcnUrIzrQnaJVvxo/Llg=
=d/As
-----END PGP SIGNATURE-----

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to