[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: return DECLINED or OK?




J. Peng wrote:
At what cases should we return a DECLINED or a OK from a handler?
I saw the handler of PerlTransHandler returns a
Apache2::Const::DECLINED but dont know why.

see the introduction to part III here:

  http://www.modperlcookbook.org/chapters.html

in general, trans handlers return DECLINED because they don't typically do sufficient mapping of a uri to a resource on disk - they usually alter the uri then let the default apache trans handler do the mapping.

--Geoff


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.