p5-plack-middleware-docomoguid
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:
NAME
    Plack::Middleware::DoCoMoGUID - Combine
    Plack::Middleware::DoCoMoGUID::RedirectFilter and
    Plack::Middleware::DoCoMoGUID::HTMLStickyQuery.

SYNOPSIS
      use Plack::Builder;

      builder {
        enable_if { $_[0]->{HTTP_USER_AGENT} =~ m/DoCoMo/i } "DoCoMoGUID";
      };

    or add check param

      builder {
        enable_if { $_[0]->{HTTP_USER_AGENT} =~ m/DoCoMo/i } "DoCoMoGUID", params => +{
            'foo' => 'bar',
        };
      };

    this will check for the "guid" and "foo" parameter.

DESCRIPTION
    Plack::Middleware::DoCoMoGUID is a Plack::Middleware that filters HTML
    content and adds "?guid=ON" to all relative links and form actions using
    HTML::StickyQuery::DoCoMoGUID as well as to the Location header on
    redirects.

    If you only need the functionality of one module, consider using
    Plack::Middleware::DoCoMoGUID::RedirectFilter or
    Plack::Middleware::DoCoMoGUID::HTMLStickyQuery directly.

AUTHOR
    Keiji Yoshimi 

SEE ALSO
    Plack::Middleware::DoCoMoGUID::RedirectFilter,
    Plack::Middleware::DoCoMoGUID::HTMLStickyQuery,
    Plack::Middleware::DoCoMoGUID::CheckParam, Plack::Middleware

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


本源码包内暂不包含可直接显示的源代码文件,请下载源码包。