stream_input: use String#sub! instead of gsub!
commitcd315e5a20b17d29679fb22b4e2ab44cd6d0edeb
authorEric Wong <normalperson@yhbt.net>
Fri, 19 Nov 2010 23:45:57 +0000 (20 07:45 +0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 19 Nov 2010 23:49:58 +0000 (20 07:49 +0800)
treea9f376d6facf9f26acc404463bd4769fa93b81f0
parent5bc239fd154a7eaebeb024394f8e0b507bbf4c5a
stream_input: use String#sub! instead of gsub!

There's no difference because of the \A anchor, but sub!
is doesn't loop so it's simpler.
lib/unicorn/stream_input.rb