No description, website, or topics provided.
Perl
Pull request Compare This branch is 1 commit ahead, 5 commits behind walf443:master.
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 DoCoMoGUID::RedirectFilter and
    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 guid and foo parameter.

DESCRIPTION
    Plack::Middleware::DoCoMoGUID append ?guid=ON to HTML content relative
    link or form action or Location header of your HTTP_HOST.

    If you want not to use with redirect filter and html filter, consider
    using RedirectFilter or HTMLStickyQuery separatery.

AUTHOR
    Keiji Yoshimi <walf443 at gmail dot com>

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

    http://www.nttdocomo.co.jp/service/imode/make/content/ip/index.html#imod
    eid

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