A database of opensource HTTP proxies written in python: htfilter2

A database of open-source HTTP proxies written in python: htfilter2

https://launchpad.net/py-htfilter Primary features "htfilter is a lightweight HTTP proxy written in Python that allows inspection and modification of data" Features

htfilter is a lightweight HTTP proxy server that can monitor, filter, and cache HTTP requests and responses. It has no GUI, but it's extensible using custom Python code. You can hook into the intercepted HTTP conversations and modify them as appropriate. This makes htfilter a useful debugging tool.

This script is designed to be a protocol testing tool. If you're looking to mess with other people, this is not for you.

Included are some sample hooks:

  • RewriteYouTube - detects YouTube videos, redirects to their MP4 versions, and archives them with meaningful filenames
  • RewritePandora - detects Pandora music, archives them with meaningful filenames, and writes tags
  • RewriteExample - blocks Microsoft websites, JPEG images, and cookies
原文地址:https://www.cnblogs.com/lexus/p/2476705.html