Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.06

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .shipit
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 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.

Something went wrong with that request. Please try again.