p5-Plack-Middleware-MethodOverride-0.20nb1.tgz


Advertisement

Description

p5-Plack-Middleware-MethodOverride - Override REST methods to Plack apps via POST

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package name p5-Plack-Middleware-MethodOverride
Package version 0.20nb1
Package architecture amd64
Package type tgz
Package license gnu-gpl-v2 OR artistic
Installed size 10.27 KB
Download size 6.91 KB
Official Mirror ftp.netbsd.org
Writing RESTful apps is a good thing, but if you're also trying to support
web browsers, it would be nice not to be reduced to GET and POST for
everything.
This middleware allows for POST requests that pretend to be something else:
by adding either a header named X-HTTP-Method-Override to the request, or a
query parameter named x-tunneled-method to the URI, the client can say what
method it actually meant. That is, as long as it meant one of these:
GET
POST
HEAD
PUT
DELETE
OPTIONS
TRACE
CONNECT
PATCH
If so, then the REQUEST_METHOD in the PSGI environment will be replaced
with the client's desired value. The original request method is always
stored under the plack.original_request_method key.
Homepage: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/
Categories: www, perl5

Alternatives

Package Version Architecture Repository
p5-Plack-Middleware-MethodOverride-0.20nb1.tgz 0.20nb1 i386 NetBSD
p5-Plack-Middleware-MethodOverride - - -

Requires

Name Value
p5-Plack >=0
perl >=5.28.0<5.30.0

Download

Type URL
Binary Package p5-Plack-Middleware-MethodOverride-0.20nb1.tgz
Source Package p5-Plack-Middleware-MethodOverride

Install Howto

Install p5-Plack-Middleware-MethodOverride tgz package:

# pkg_add p5-Plack-Middleware-MethodOverride

See Also

Package Description
p5-Plack-Middleware-RemoveRedundantBody-0.07nb1.tgz Removes body for HTTP response if it's not required
p5-Plack-Middleware-ReverseProxy-0.15nb6.tgz Plack middleware to support reverse proxy
p5-Plack-Middleware-Session-0.30nb3.tgz Plack middleware for session management
p5-Plack-Middleware-Test-StashWarnings-0.08nb4.tgz TODO: Short description of the package
p5-Plack-Test-Agent-1.4nb3.tgz OO interface for testing low-level Plack/PSGI apps
p5-Plack-Test-ExternalServer-0.02nb3.tgz Run HTTP tests on external live servers
p5-Pod-Abstract-0.20nb9.tgz Abstract document tree for Perl POD documents
p5-Pod-Coverage-0.23nb5.tgz Checks if the documentation of a module is comprehensive
p5-Pod-Coverage-TrustPod-0.100005nb1.tgz Allow a module's pod to contain Pod::Coverage hints
p5-Pod-Elemental-0.103004nb4.tgz Perl5 module to work with nestable Pod elements
p5-Pod-Elemental-PerlMunger-0.200006nb3.tgz Perl5 module that takes a string of Perl and rewrites its Pod
p5-Pod-Escapes-1.07nb4.tgz Perl module for decoding Pod E<...> sequences
p5-Pod-Eventual-0.094.001nb5.tgz Read a POD document as a series of trivial events
p5-Pod-Markdown-3.101nb1.tgz Convert POD to Markdown
p5-Pod-POM-2.01nb3.tgz Perl module to format POD into an object format
Advertisement
Advertisement