dynamically modify HTTP POST data

谁说我不能喝 提交于 2019-12-24 04:18:08

问题


I set up a squid proxy server, and I would like to monitor and modify certain HTTP POST requests before it goes out of squid. What are my options?


回答1:


Take a look at the Squid page on Content Adaptation to find what you're looking for. Those are valid options, although the only really good one is new in Squid 3.

Another option, and what I use personally for this, is to transparently redirect the request to a script which modifies it and then forwards the changed version to the original destination.



来源:https://stackoverflow.com/questions/3532013/dynamically-modify-http-post-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!