The following module was proposed for inclusion in the Module List:
modid: HTTP::Response::HandlerChains
DSLIP: adpOp
description: handle many HTTP response possibilities
userid: LXP (Alex Peters)
chapterid: 3 (Development_Support)
communities:
GitHub repository
similar:
rationale:
A distribution to allow module authors to throw an HTTP::Response
at it, and have it run through a chain of "handlers" to find one
that can do something with it.
This is necessary when a request for some data could result in any
of (i) that data, or (ii) a form with errors, or (iii) a "logged out
due to inactivity" message, or (iv) an internal server error, or (v)
something else being returned.
I intend to make this module a dependency for a future version of
an already-published distribution (Finance::Bank::Bankwest), and
another similar distribution which I intend to initially release in
the near future (Finance::Bank::Melbourne, pending namespace
approval).
I'm not hugely fond of the name I'm proposing, but I can't think of
anything better (and something like Finance::Bank::LXP::CommonBits
would surely be worse). "HTTP::Response" is part of the name purely
because it deals with HTTP::Response objects.
Elected chapter "Development Support" rather than
"WWW/HTML/HTTP/CGI" because it's a set of (two) abstract
superclasses, and doesn't directly perform any WWW-related work.
enteredby: LXP (Alex Peters)
enteredon: Tue Jul 16 14:27:14 2013 UTC
The resulting entry would be:
HTTP::Response::
::HandlerChains adpOp handle many HTTP response possibilities LXP
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=6db00000_46573c3a00479487&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=6db00000_46573c3a00479487&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=HTTP%3A%3AResponse%3A%3AHandlerChains