lib/nyara/request.rb in nyara-0.0.1.pre.2 vs lib/nyara/request.rb in nyara-0.0.1.pre.3

- old
+ new

@@ -131,11 +131,9 @@ # todo serialize the changed cookie # todo rename and move it into Ext def not_found - puts "not found" - Ext.send_data self, "HTTP/1.1 404 Not Found\r\nConnection: close\r\nContent-Length: 0\r\n\r\n" - Ext.close self + Ext.request_send_data self, "HTTP/1.1 404 Not Found\r\nConnection: close\r\nContent-Length: 0\r\n\r\n" end end end