GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::Proxy::HeaderFilter::standard(3) User Contributed Perl Documentation HTTP::Proxy::HeaderFilter::standard(3)

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

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

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.)

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

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

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

Copyright 2003-2015, Philippe Bruhat.

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
2015-06-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.