diff web/src/luan/modules/web/Http.luan @ 253:dddf4e85bfe4

finish basic web testing git-svn-id: https://luan-java.googlecode.com/svn/trunk@254 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 21 Oct 2014 02:08:21 +0000
parents 3896138955b1
children 9e0d4452e649
line wrap: on
line diff
--- a/web/src/luan/modules/web/Http.luan	Mon Oct 20 02:23:00 2014 +0000
+++ b/web/src/luan/modules/web/Http.luan	Tue Oct 21 02:08:21 2014 +0000
@@ -40,6 +40,10 @@
 			cookies[name] = value
 		end;
 
+		remove_cookie = function(name)
+			cookies[name] = nil
+		end;
+
 		send_redirect = function(url)
 			response.redirect = url
 		end;