Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Middleware::HeaUser3Contributed Perl DocumePlack::Middleware::Header(3)

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

perl v5.32.0			  2010-09-09	  Plack::Middleware::Header(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | LICENSE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Middleware::Header&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help