pkgsrc/www/p5-Plack-Middleware-MethodOverride/distinfo
mef a6c7ba7181 Import p5-Plack-Middleware-MethodOverride-0.15 as www/p5-Plack-Middleware-MethodOverride.
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.
2015-11-27 22:20:08 +00:00

6 lines
494 B
Text

$NetBSD: distinfo,v 1.1 2015/11/27 22:20:08 mef Exp $
SHA1 (Plack-Middleware-MethodOverride-0.15.tar.gz) = f9afb37cd236a15c4e973baab0bf1389bc0778d4
RMD160 (Plack-Middleware-MethodOverride-0.15.tar.gz) = 2868e773ea5ef1b366d5d2752e941619622d6a01
SHA512 (Plack-Middleware-MethodOverride-0.15.tar.gz) = 5da480668764cb5e45889cce0ccd2090f5429288b95d470201bf6b76ca69a27488e58c8964e048efbb3f168760ca843f058ad5a1359f9c9ad671eb099e8316d3
Size (Plack-Middleware-MethodOverride-0.15.tar.gz) = 12510 bytes