Plack-App-Prerender
    
    
  
  
  
view release on metacpan or search on metacpan
values are the headers that will be passed to the ["rewrite"](#rewrite) URL.
Values of `1` will be a synonym for the same header, and false values
will mean that the header is skipped.
An array reference can be used to simply pass through a list of
headers unchanged.
It will default to the following headers:
- `X-Forwarded-For`
- `X-Forwarded-Host`
- `X-Forwarded-Port`
- `X-Forwarded-Proto`
The `User-Agent` is forwarded as `X-Forwarded-User-Agent`.
## response
This is a hash reference (since v0.2.0) of request headers to return
from the proxy.  The keys are the response header fields, and the
    
  
  
  lib/Plack/App/Prerender.pm view on Meta::CPAN
        $self->mech($mech);
    }
    unless ($self->request) {
        $self->request(
            {
                'User-Agent' => 'X-Forwarded-User-Agent',
                ( map { $_ => $_ } qw/
                  X-Forwarded-For
                  X-Forwarded-Host
                  X-Forwarded-Port
                  X-Forwarded-Proto
                  /
                ),
            }
        );
    }
    if (is_plain_arrayref($self->request)) {
        $self->request( { map { $_ => $_ } @{ $self->request } } );
    
  
  
  lib/Plack/App/Prerender.pm view on Meta::CPAN
Values of C<1> will be a synonym for the same header, and false values
will mean that the header is skipped.
An array reference can be used to simply pass through a list of
headers unchanged.
It will default to the following headers:
=over
=item C<X-Forwarded-For>
=item C<X-Forwarded-Host>
=item C<X-Forwarded-Port>
=item C<X-Forwarded-Proto>
=back
The C<User-Agent> is forwarded as C<X-Forwarded-User-Agent>.
    
  
  
  
( run in 1.061 second using v1.01-cache-2.11-cpan-a1d94b6210f )