aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Plack-Middleware-MethodOverride
Commit message (Collapse)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-011-4/+4
| | | | | With hat: portmgr Sponsored by: Absolight
* - Update to 0.15sunpoet2015-08-162-3/+4
| | | | | | - Add NO_ARCH Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
* - Update to 0.14sunpoet2015-03-252-3/+3
| | | | Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
* - Update to 0.13sunpoet2015-03-182-3/+3
| | | | Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
* - Update to 0.12sunpoet2015-02-192-7/+7
| | | | Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
* - Update to 0.11sunpoet2015-01-132-4/+3
| | | | Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-262-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
* - Add p5-Plack-Middleware-MethodOverride 0.10sunpoet2014-03-294-0/+51
Writing RESTful apps is a good thing, but if you're also trying to support web browsers, you're probably going to need some hackish workarounds. This module provides one such workaround for your Plack applications. Specifically, you can also use a header named X-HTTP-Method-Override (as used by Google for its APIs) override the POST request method. Or you can add a parameter named x-tunneled-method to your form action's query. Either way, the overriding works only via POST requests, not GET. If either of these attributes are available in a POST request, the REQUEST_METHOD key of the Plack environment hash will be replaced with its value. This allows your apps to override any HTTP method over POST. If your application needs to know that such overriding has taken place, the original method is stored under the plack.original_request_method key in the Plack environment hash. The list of methods you can specify are: GET, POST, HEAD, PUT, DELETE, OPTIONS, TRACE and CONNECT. WWW: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/