lib/anypow/app.rb in anypow-0.0.2 vs lib/anypow/app.rb in anypow-0.0.3

- old
+ new

@@ -17,9 +17,15 @@ at_exit { kill_server } super(opts) end + def rewrite_response(triplet) + status, headers, body = triplet + headers.delete('Transfer-Encoding') + triplet + end + private def spawn_server(server_env, server_cmd) if Anypow.ruby_18? require "posix/spawn"