{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["perl5","www"],"comment":"Override REST methods to Plack apps via POST","compare":"/compare/p5-plack-middleware-methodoverride/index.json","dependentCount":null,"description":"Writing RESTful apps is a good thing, but if you're also trying to support web\nbrowsers, you're probably going to need some hackish workarounds. This module\nprovides one such workaround for your Plack applications.\n\nSpecifically, you can also use a header named X-HTTP-Method-Override (as used by\nGoogle for its APIs) override the POST request method. Or you can add a\nparameter named x-tunneled-method to your form action's query. Either way, the\noverriding works only via POST requests, not GET.\n\nIf either of these attributes are available in a POST request, the\nREQUEST_METHOD key of the Plack environment hash will be replaced with its\nvalue. This allows your apps to override any HTTP method over POST. If your\napplication needs to know that such overriding has taken place, the original\nmethod is stored under the plack.original_request_method key in the Plack\nenvironment hash.\n\nThe list of methods you can specify are: GET, POST, HEAD, PUT, DELETE, OPTIONS,\nTRACE and CONNECT.","flavors":[],"html":"https://daemonports.org/dragonfly/www/p5-Plack-Middleware-MethodOverride/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Plack-Middleware-MethodOverride","newest":true,"newestVersion":"0.20","noVulnData":false,"origin":"www/p5-Plack-Middleware-MethodOverride","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"www/p5-Plack-Middleware-MethodOverride","path":"/www/p5-Plack-Middleware-MethodOverride/","system":"FreeBSD","version":"0.20"},{"maintainer":"Wen Heping \u003cwenheping2000@hotmail.com\u003e","newest":true,"noVulnData":true,"origin":"www/p5-Plack-Middleware-MethodOverride","path":"/openbsd/www/p5-Plack-Middleware-MethodOverride/","system":"OpenBSD","version":"0.20"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"www/p5-Plack-Middleware-MethodOverride","path":"/netbsd/www/p5-Plack-Middleware-MethodOverride/","system":"NetBSD","updated":"2026-07-16","version":"0.20nb9"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/p5-Plack-Middleware-MethodOverride","path":"","system":"HardenedBSD","version":"0.20"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/p5-Plack-Middleware-MethodOverride","path":"","system":"GhostBSD","version":"0.20"}],"packages":null,"pkgName":"p5-Plack-Middleware-MethodOverride-0.20","related":null,"repository":"DPorts","requiredBy":["www/p5-Catalyst-Runtime"],"requiredByCount":1,"runDepends":["lang/perl5.36","www/p5-Plack"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.20","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Plack-Middleware-MethodOverride"}
