jtrupiano / rack-rewrite

A web server agnostic rack middleware for defining and applying rewrite rules. In many cases you can get away with Rack::Rewrite instead of writing Apache mod_rewrite rules.
http://github.com/jtrupiano/rack-rewrite
MIT License
836 stars 80 forks source link

Fix duplicated key in apply!(env) method #66

Closed fredguest closed 9 years ago

fredguest commented 9 years ago

there is a typo in the :send_data case within the apply!(env) method of rule.rb, the key 'Content-Type' is used twice. should be 'Content-Length' on line 172. closes issue: https://github.com/jtrupiano/rack-rewrite/issues/65

danielgrippi commented 9 years ago

+1

BrentWheeldon commented 9 years ago

:+1:

danielgrippi commented 9 years ago

ping @travisjeffery

nixpulvis commented 9 years ago

:+1:

travisjeffery commented 9 years ago

Nice! Thanks for the PR!

fredguest commented 9 years ago

👍