1HTTP::Proxy::HeaderFiltUesre:r:sCtoanntdrairbdu(t3e)d PeHrTlTPD:o:cPurmoexnyt:a:tHieoanderFilter::standard(3)
2
3
4
6 HTTP::Proxy::HeaderFilter::standard - An internal filter to respect
7 RFC2616
8
10 This is an internal filter used by HTTP::Proxy to enforce behaviour
11 compliant with RFC 2616.
12
14 This filter implements a single method that is called automatically:
15
16 filter()
17 Enforce RFC 2616-compliant behaviour, by adding the "Via:" and
18 "X-Forwarded-For:" headers (except when the proxy was instructed
19 not to add them), decrementing the "Max-Forwards:" header and
20 removing the hop-by-hop and LWP::UserAgent headers.
21
22 Note that the filter will automatically remove the
23 "Accept-Encoding" headers if the proxy has at least one
24 HTTP::Proxy::BodyFilter filter. (This is to ensure that the
25 filters will receive uncompressed data.)
26
28 HTTP::Proxy, HTTP::Proxy::HeaderFilter, RFC 2616.
29
31 Philippe "BooK" Bruhat, <book@cpan.org>.
32
33 Thanks to Gisle Aas, for directions regarding the handling of the hop-
34 by-hop headers.
35
37 Copyright 2003-2015, Philippe Bruhat.
38
40 This module is free software; you can redistribute it or modify it
41 under the same terms as Perl itself.
42
43
44
45perl v5.30.1 2020-01H-T3T0P::Proxy::HeaderFilter::standard(3)