www/p5-Plack-Middleware-MethodOverride 0.20 OpenBSD
override REST methods to Plack apps via POST
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Wen Heping <[email protected]>
- Categories
- www, perl5
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | www/p5-Plack-Middleware-MethodOverride | 0.20 |
| FreeBSD | www/p5-Plack-Middleware-MethodOverride | 0.20 |
| NetBSD | www/p5-Plack-Middleware-MethodOverride | 0.20nb9 |
| DragonFly | www/p5-Plack-Middleware-MethodOverride | 0.20 |
| HardenedBSD | www/p5-Plack-Middleware-MethodOverride | 0.20 |
| GhostBSD | www/p5-Plack-Middleware-MethodOverride | 0.20 |
Install
Binary package:
pkg_add p5-Plack-Middleware-MethodOverride
From the ports tree:
cd /usr/ports/www/p5-Plack-Middleware-MethodOverride && make install