lib/reel/stream.rb in reel-0.5.0 vs lib/reel/stream.rb in reel-0.6.0.pre1

- old
+ new

@@ -62,11 +62,11 @@ end class ChunkStream < Stream def write(chunk) chunk_header = chunk.bytesize.to_s(16) - write chunk_header + Response::Writer::CRLF - write chunk + Response::Writer::CRLF + super chunk_header + Response::Writer::CRLF + super chunk + Response::Writer::CRLF self end alias :<< :write # finish does not actually close the socket,