[Koha-bugs] [Bug 20582] Turn Koha into a Mojolicious application

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 31 06:00:47 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20582

--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 74517
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74517
Bug 20582: Turn Koha into a Mojolicious application

Review of attachment 74517:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20582&attachment=74517)
-----------------------------------------------------------------

::: Koha/App/Plugin/CGIBinKoha.pm
@@ +44,5 @@
> +        $c->rendered;
> +    })->name('cgi');
> +}
> +
> +sub _psgi_env {

Could we use https://mojolicious.org/perldoc/Mojo/Message/Request#env to just
get a PSGI environment hash from Mojolicious? 

I haven't delved into these patches, but aren't we basically just using
Mojolicious as a proxy to CGI::Emulate::PSGI, which looks like it comes
straight out of Plack::App::WrapCGI anyway?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list