Name : perl-Catalyst-TraitFor-Request-REST-ForBrowsers-AndPJAX
| |
Version : 0.001
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 4.64
| Date : 2024-08-05 20:52:15
|
Group : Development/Libraries/Perl
| Source RPM : perl-Catalyst-TraitFor-Request-REST-ForBrowsers-AndPJAX-0.001-4.64.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Acknowledge C< PJAX> requests as browser requests
|
Description :
This is a tiny little Catalyst::Request class trait that recognizes that a PJAX request is also a browser request, and thus looks_like_browser() also returns true when the method is GET and the \'X-Pjax\' header is present and is \'true\'.
This allows actions using an action class of REST::ForBrowsers to transparently handle PJAX requests, without requiring any more modification to the controller or application than applying this trait to the request class, rather than plain-old Catalyst::TraitFor::Request::REST::ForBrowsers.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/openSUSE_Tumbleweed/noarch |