[Jifty-commit] jifty branch, jifty_client, updated. b9e7715593a5edc149409a3e2a5d238d8005d132

Jifty commits jifty-commit at lists.jifty.org
Wed May 19 08:21:00 EDT 2010


The branch, jifty_client has been updated
       via  b9e7715593a5edc149409a3e2a5d238d8005d132 (commit)
      from  6c5925a5b7bf4aa16941582edfa4269b9834bfe4 (commit)

Summary of changes:
 lib/Jifty/Handler.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit b9e7715593a5edc149409a3e2a5d238d8005d132
Author: Chia-liang Kao <clkao at clkao.org>
Date:   Wed May 19 20:21:23 2010 +0800

    allow app to provide psgi_wrap for last minute wrapping.

diff --git a/lib/Jifty/Handler.pm b/lib/Jifty/Handler.pm
index 7e86daf..0e16414 100644
--- a/lib/Jifty/Handler.pm
+++ b/lib/Jifty/Handler.pm
@@ -195,6 +195,11 @@ sub psgi_app {
         $app = $_->wrap($app);
     }
 
+    my $app_class = Jifty->app_class;
+
+    $app = $app_class->psgi_wrap($app)
+        if $app_class->can('psgi_wrap');
+
     return $app;
 }
 

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list