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

FreeBSD Manual Pages

  
 
  

home | help
HTTP::Proxy::HeaderFilUser:Contributed PHTTP::Proxy::HeaderFilter::standard(3)

NAME
       HTTP::Proxy::HeaderFilter::standard - An	internal filter	to respect
       RFC2616

DESCRIPTION
       This is an internal filter used by HTTP::Proxy to enforce behaviour
       compliant with RFC 2616.

METHOD
       This filter implements a	single method that is called automatically:

       filter()
	   Enforce RFC 2616-compliant behaviour, by adding the "Via:" and
	   "X-Forwarded-For:" headers (except when the proxy was instructed
	   not to add them), decrementing the "Max-Forwards:" header and
	   removing the	hop-by-hop and LWP::UserAgent headers.

	   Note	that the filter	will automatically remove the
	   "Accept-Encoding" headers if	the proxy has at least one
	   HTTP::Proxy::BodyFilter filter.  (This is to	ensure that the
	   filters will	receive	uncompressed data.)

SEE ALSO
       HTTP::Proxy, HTTP::Proxy::HeaderFilter, RFC 2616.

AUTHOR
       Philippe	"BooK" Bruhat, <book@cpan.org>.

       Thanks to Gisle Aas, for	directions regarding the handling of the hop-
       by-hop headers.

COPYRIGHT
       Copyright 2003-2015, Philippe Bruhat.

LICENSE
       This module is free software; you can redistribute it or	modify it
       under the same terms as Perl itself.

perl v5.32.0			  2015-0HTTP::Proxy::HeaderFilter::standard(3)

NAME | DESCRIPTION | METHOD | SEE ALSO | AUTHOR | COPYRIGHT | LICENSE

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

home | help