Port details |
- p5-Plack-Middleware-MethodOverride Override REST methods to Plack apps via POST
- 0.20 www =2 0.20Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2014-03-29 08:43:28
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Plack-Middleware-MethodOverride
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Plack-Middleware-MethodOverride>0:www/p5-Plack-Middleware-MethodOverride
- To install the port:
- cd /usr/ports/www/p5-Plack-Middleware-MethodOverride/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-Plack-Middleware-MethodOverride
- pkg install p5-Plack-Middleware-MethodOverride
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Plack-Middleware-MethodOverride
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1527438195
SHA256 (Plack-Middleware-MethodOverride-0.20.tar.gz) = dbfb5a2efb48bfeb01cb3ae1e1c677e155dc7bfe210c7e7f221bae3cb6aab5f1
SIZE (Plack-Middleware-MethodOverride-0.20.tar.gz) = 12715
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Plack>=0 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Plack>=0 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- www/p5-Catalyst-Runtime
- for Run
-
- www/p5-Catalyst-Runtime
Configuration Options:
- No options to configure
- Options name:
- www_p5-Plack-Middleware-MethodOverride
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 18
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.20 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.20 20 Jul 2022 14:23:26 |
Tobias C. Berner (tcberner) |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
0.20 20 Jun 2021 11:36:42 |
Po-Chuan Hsieh (sunpoet) |
www/p5-Plack-Middleware-MethodOverride: Add LICENSE_FILE |
0.20 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.20 06 Oct 2018 13:06:45 |
des |
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw) |
0.20 27 May 2018 20:17:16 |
sunpoet |
Update to 0.20
Changes: https://metacpan.org/changes/distribution/Plack-Middleware-MethodOverride |
0.17 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
0.17 26 May 2018 17:48:19 |
sunpoet |
Update to 0.17
- Clean up TEST_DEPENDS
Changes: https://metacpan.org/changes/distribution/Plack-Middleware-MethodOverride |
0.15 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
0.15 01 Apr 2016 14:33:58 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat: portmgr
Sponsored by: Absolight |
0.15 16 Aug 2015 00:40:40 |
sunpoet |
- Update to 0.15
- Add NO_ARCH
Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes |
0.14 25 Mar 2015 15:44:40 |
sunpoet |
- Update to 0.14
Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes |
0.13 17 Mar 2015 19:21:05 |
sunpoet |
- Update to 0.13
Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes |
0.12 18 Feb 2015 16:22:22 |
sunpoet |
- Update to 0.12
Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes |
0.11 13 Jan 2015 15:30:56 |
sunpoet |
- Update to 0.11
Changes: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes |
0.10_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
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 (Only the first 15 lines of the commit message are shown above ) |
0.10 29 Mar 2014 08:43:21 |
sunpoet |
- Add p5-Plack-Middleware-MethodOverride 0.10
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/ |
Number of commits found: 18
|