This script demonstrates how to delete/insert/rewrite custom information on users requests. To test with http://www.ericgiguere.com/tools/http-header-viewer.html for example.
A couple of notes:
1. You need a clam av server running at the ip address and ports you set up the top of the script.
2. This can only handle small files right now due to time outs and lack of file chunking.
3. GreasySpoon Mime types must be configured to support binary content (check services.properties file).