jaswope/rack-reverse-proxy — pull request #16 by blakewatters (2012-04-12 17:33:14+00:00)
Title: Replace all instances of '_' with '-' in header name before proxying.

This is probably the least general of the patches I've sent over. Basically I am using the rack-reverse-proxy to funnel traffic from a Heroku Bamboo application to a Cedar application. Because of the way Heroku works with HTTP headers, I needed to replace the underscores with hyphens before passing the traffic back to the next Heroku app. I am happy to wrap this into an option (not really sure what to call it?) and add some tests if there's interest in merging it. Let me know.