Masahiro Chiba > Plack-Middleware-Header-0.04 > Plack::Middleware::Header

Download:
Plack-Middleware-Header-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Plack::Middleware::Header - modify HTTP response headers

SYNOPSIS ^

  use Plack::Builder;
 
  my $app = sub {['200', [], ['hello']]};
  builder {
      enable 'Header',
        set => ['X-Plack-One' => '1'],
        append => ['X-Plack-Two' => '2'],
        unset => ['X-Plack-Three'];
      $app;
  };

DESCRIPTION ^

Plack::Middleware::Header

AUTHOR ^

Masahiro Chiba

LICENSE ^

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

SEE ALSO ^

Plack::Middleware Plack::Builder

syntax highlighting: