Skip to content

Cside/Plack-Middleware-DebugRequestParams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

debug request parameters

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages