diff src/luan/modules/http/Http.luan @ 1257:e38f5869e9df

don't reset in send_redirect and other improvements
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 20 Sep 2018 21:04:41 -0600
parents c147e2e877e3
children e8020216dee7
line wrap: on
line diff
--- a/src/luan/modules/http/Http.luan	Wed Sep 19 20:15:16 2018 -0600
+++ b/src/luan/modules/http/Http.luan	Thu Sep 20 21:04:41 2018 -0600
@@ -74,7 +74,6 @@
 	this.reset()
 
 	function this.send_redirect(location)
-		this.reset()
 		this.status = STATUS.FOUND
 		this.headers["location"] = location
 	end