Package : perl-Plack-Middleware-MethodOverride > RPM : perl-Plack-Middleware-MethodOverride-0.200.0-5.mga9.src.rpm

Basic items

Name perl-Plack-Middleware-MethodOverride
Version 0.200.0
Release 5.mga9
URL https://metacpan.org/release/Plack-Middleware-MethodOverride
Group Development/Perl
Summary Override REST methods to Plack apps via POST
Size 16KB
Arch noarch
License GPL+ or Artistic

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.

Media information

Distribution release Mageia cauldron
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2022-03-28 19:18:53
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie