I do not understand your explanations, but I can answer your question anyway. :-)
HTTP::Proxy has two types of filters: HeaderFilter and BodyFilter. Those can be set up (with the push_filter() method) to act either on the request or the response. Most requests (with the notable exception of POST requests) do not have bodies, so if you want to change something in a request, it's usually the headers (or the query itself). For this, you'll need to use a subclass of HTTP::Proxy::HeaderFilter. The filter() method has the following signature:
(3)
]
