Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

a few months ago I wrote a proxy in python that modifies certain request. It added a cookie header towards the requested webpage and removed that header on the way back. However I lost this code due to a hard drive failure and data recovery is pretty much out of the picture. Now I am thinking to rewrite the whole thing as a plugin for Squid or Nginx or other proxy servers. Is there a proxy software that provides the possibility to pass on requests to a plugin or programme that modifies the data which the server picks up and acts as told by the programme. Basically I am looking for a proxy that provides the option to customize cookie handling. Of course I am not looking for the complete solution but I would be happy if someone could point me into the right direction.

share|improve this question

ok I think after hours of googeling I found what I was looking for

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.