NAME

Plack::Middleware::ServerName - sets/fakes the name of the webserver processing the requests

SYNOPSIS

use Plack::Builder;

builder {
    enable "Plack::Middleware::ServerName",
        name => 'Apache';
    $app;
};

DESCRIPTION

Plack::Middleware::ServerName is a middleware that allows to fakes the response Server header by removing it ( if name is undef ) or setting it to a defined value.

CONFIGURATIONS

name
name => 'Apache'
name => 'My-Own-WebServer/0.01'

string that defines/fakes the server's name

SEE ALSO

Plack::Middleware

AUTHOR

Sorin Pop <sorin.pop {at} evozon.com>

LICENSE

This software is copyright (c) 2011 by Sorin Pop.

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