debug request parameters
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Plack/Middleware
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile

README.md

NAME

Plack::Middleware::DebugRequestParams - debug request parameters (inspired by Catalyst)

SYNOPSIS

$ plackup -e 'enable "DebugRequestParams"' app.psgi
$ curl -F foo=bar -F baz=foobar http://localhost:5000/
.--------------------.
| Parameter | Value  |
+-----------+--------+
| baz       | foobar |
| foo       | bar    |
'-----------+--------'

OPTIONS

  • ignore_path

      use Plack::Builder;
    
      builder {
          enable "DebugRequestParams",
              ignore_path => qr{^/(images|js|css)/},
          $app;
      };
    

LICENSE

Copyright (C) Hiroki Honda.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Hiroki Honda cside.story@gmail.com