lib/juggernaut/server.rb in dima-exe-juggernaut-0.5.9.24 vs lib/juggernaut/server.rb in dima-exe-juggernaut-0.5.9.25
- old
+ new
@@ -163,10 +163,9 @@
h = []
h << "HTTP/1.1 200 OK"
h << "Cache-Control: private, max-age=0, must-revalidate"
h << "Content-Type: application/javascript"
h << "Connection: keep-alive"
- h << "Transfer-Encoding: chunked"
h << "Content-Length: #{msg.to_s.size}"
h = h.join("\r\n")
h + "\r\n\r\n" + msg.to_s + "\r\n"
end