watcher: set Content-Type via assignment
authorEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 22:57:53 +0000 (22:57 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 22:59:01 +0000 (22:59 +0000)
commitc29fd663b45888aa8661c8599c88c339f4fbe8c1
treefe19804ae5aabf9de9b4e6565362ce8c4d6b85c1
parentd92a3a66adab040ca935c1b3aa0f5965b4cc1d67
watcher: set Content-Type via assignment

Relying on String#replace to set Content-Type stopped working
with rack commit 3623d04526b953a63bfb3e72de2d6920a042563f
This fixes compatibility with the Rack 1.5.x series.
lib/raindrops/watcher.rb