No description or website provided.
Perl Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Plack/Middleware
t
xt
.gitignore
.shipit
Changes
MANIFEST.SKIP
Makefile.PL
README

README

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 <walf443 at gmail dot com>

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.