Can someone give a working code example of how to write a content altering web proxy server in Ruby? (for example rewriting all lowercase text to uppercase, or removing all img tags).
I had a look at mousehole and em-proxy before, with both I was unable to get a simple example working.